Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60fee72

Browse files
committed
Do not enable TCL_ARRAYS feature by default, because it
is wrong and dangerous unless you are using contrib/string. We reallyneed a thorough look at the issue of making the backend and the FE/BEprotocols completely 8-bit-clean for string data, but that's a taskfor some future release.
1 parent2133276 commit60fee72

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

‎src/include/config.h.in

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,13 @@ extern void srandom(int seed);
347347
#defineFUNC_UTIL_PATCH
348348

349349
/*
350-
* Define this if you want to retrieve arrays attributes as Tcl lists instead
351-
* of postgres C-like arrays, for example {{"a1" "a2"} {"b1" "b2"}} instead
352-
* of {{"a1","a2"},{"b1","b2"}}.
350+
* Define this to make libpgtcl's "pg_result -assign" command process C-style
351+
* backslash sequences in returned tuple data and convert Postgres array
352+
* attributes into Tcl lists. CAUTION: this conversion is *wrong* unless
353+
* you install the routines in contrib/string/string_io to make the backend
354+
* produce C-style backslash sequences in the first place.
353355
*/
354-
#defineTCL_ARRAYS
356+
/*#define TCL_ARRAYS */
355357

356358
/*
357359
* The following flag allows limiting the number of rows returned by a query.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp