darold / external_file Goto Github PK
View Code? Open in Web Editor NEWAllow access to "external files" from PostgreSQL server file systems.
License: Other
Allow access to "external files" from PostgreSQL server file systems.
License: Other
The documentation states that '/' and '\' are forbidden for security reasons. We are looking into transfering a huge archive of bfiles from oracle to postgres. These bfiles are organised as a number of directories with in each directory a hierarchy 'env/year/month/file'. I would expect that '..' would be forbidden instead of the path separator.
Good day!
When installing the extension, I encountered an error:
/bin/install: cannot stat ‘.//README.external_file’: No such file or directory
make: *** [install] Error 1
The error is caused by a missing file README.external_file in repository. As I understand it, the content of this file was meant to be similar to the README.md file.
As a solution to this problem, I propose to add in the Makefile the creation of the desired file from README.md:
all: prepare_readme
prepare_readme: README.md
@echo "Prepare README.external_file"
cp README.md README.external_file
The whole Makefile will look like this:
#MODULES = external_file
EXTENSION = external_file
DATA = external_file--1.0.sql
DOCS = README.external_file
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
all: prepare_readme
prepare_readme: README.md
@echo "Prepare README.external_file"
cp README.md README.external_file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.