Commit 60fee725 authored by Tom Lane's avatar Tom Lane

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.
parent 2133276e
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment