summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-06-04 21:13:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-06-04 21:13:38 +0000
commit4cd4a54c80fc1ed7b16039a71706dc80ce5d422e (patch)
treeaeb8e854651dc4d5c6766a92fa0cbf49865ae061 /src/include
parent1c3c08053452f342d9cf09aff9a36a5939508412 (diff)
downloadpostgresql-4cd4a54c80fc1ed7b16039a71706dc80ce5d422e.tar.gz
Add configurable option controlling security checks in LO functions.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/config.h.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in
index f90501ed11..9afb5e251f 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -342,7 +342,7 @@ extern void srandom(unsigned int seed);
#undef USE_POSIX_SIGNALS
/*
- * Code below this point should not require changes
+ * Pull in OS-specific declarations (using link created by configure)
*/
#include "os.h"
@@ -495,6 +495,16 @@ extern void srandom(unsigned int seed);
/* #define PSQL_ALWAYS_GET_PASSWORDS */
/*
+ * Define this if you want to allow the lo_import and lo_export SQL functions
+ * to be executed by ordinary users. By default these functions are only
+ * available to the Postgres superuser. CAUTION: these functions are
+ * SECURITY HOLES since they can read and write any file that the Postgres
+ * backend has permission to access. If you turn this on, don't say we
+ * didn't warn you.
+ */
+/* #define ALLOW_DANGEROUS_LO_FUNCTIONS */
+
+/*
* Use btree bulkload code:
* this code is moderately slow (~10% slower) compared to the regular
* btree (insertion) build code on sorted or well-clustered data. on