if (ch == '"' || ch == '\\')
{
needquote = true;
-#ifndef TCL_ARRAYS
overall_length += 1;
-#endif
}
else if (ch == '{' || ch == '}' || ch == typdelim ||
isspace((unsigned char) ch))
if (needquotes[k])
{
APPENDCHAR('"');
-#ifndef TCL_ARRAYS
for (tmp = values[k]; *tmp; tmp++)
{
char ch = *tmp;
*p++ = ch;
}
*p = '\0';
-#else
- APPENDSTR(values[k]);
-#endif
APPENDCHAR('"');
}
else
*/
#define NUM_USER_DEFINED_LWLOCKS 4
-/*
- * Define this to make libpgtcl's "pg_result -assign" command process
- * C-style backslash sequences in returned tuple data and convert
- * PostgreSQL array values into Tcl lists. CAUTION: This conversion
- * is *wrong* unless you install the routines in
- * contrib/string/string_io to make the server produce C-style
- * backslash sequences in the first place.
- */
-/* #define TCL_ARRAYS */
-
/*
* Define this if you want psql to _always_ ask for a username and a
* password for password authentication.