aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1998-10-08 23:31:20 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1998-10-08 23:31:20 +0000
commit60fee725b8dc6569b416c572cc4200a630b6d407 (patch)
tree3ab749a6a4033c05922bb2a6ddf6d70445cc289f /src
parent2133276ecc417d33f485405e93c948bfc0e47457 (diff)
downloadpostgresql-60fee725b8dc6569b416c572cc4200a630b6d407.tar.gz
postgresql-60fee725b8dc6569b416c572cc4200a630b6d407.zip
Do not enable TCL_ARRAYS feature by default, because it
is wrong and dangerous unless you are using contrib/string. We really need a thorough look at the issue of making the backend and the FE/BE protocols completely 8-bit-clean for string data, but that's a task for some future release.
Diffstat (limited to 'src')
-rw-r--r--src/include/config.h.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in
index 2d45c55ec42..7b1ddbecc3c 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -347,11 +347,13 @@ extern void srandom(int seed);
#define FUNC_UTIL_PATCH
/*
- * Define this if you want to retrieve arrays attributes as Tcl lists instead
- * of postgres C-like arrays, for example {{"a1" "a2"} {"b1" "b2"}} instead
- * of {{"a1","a2"},{"b1","b2"}}.
+ * Define this to make libpgtcl's "pg_result -assign" command process C-style
+ * backslash sequences in returned tuple data and convert Postgres array
+ * attributes into Tcl lists. CAUTION: this conversion is *wrong* unless
+ * you install the routines in contrib/string/string_io to make the backend
+ * produce C-style backslash sequences in the first place.
*/
-#define TCL_ARRAYS
+/* #define TCL_ARRAYS */
/*
* The following flag allows limiting the number of rows returned by a query.