diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-02-29 20:58:33 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-02-29 20:58:33 +0000 |
commit | 7157114d54d346852c9678a4a38840ed875eec8a (patch) | |
tree | 60676d029a00cd44b80cd3720671bd0777dcf504 /src/backend/utils/adt/arrayfuncs.c | |
parent | c67f6f2f573064c206044b44a73cdf0806dfbd4e (diff) | |
download | postgresql-7157114d54d346852c9678a4a38840ed875eec8a.tar.gz postgresql-7157114d54d346852c9678a4a38840ed875eec8a.zip |
Remove long-unused and broken TCL_ARRAYS.
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
-rw-r--r-- | src/backend/utils/adt/arrayfuncs.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/backend/utils/adt/arrayfuncs.c b/src/backend/utils/adt/arrayfuncs.c index 8b058cb422f..b2beb18bc5f 100644 --- a/src/backend/utils/adt/arrayfuncs.c +++ b/src/backend/utils/adt/arrayfuncs.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.140 2008/01/01 19:45:52 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.141 2008/02/29 20:58:33 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -1030,9 +1030,7 @@ array_out(PG_FUNCTION_ARGS) if (ch == '"' || ch == '\\') { needquote = true; -#ifndef TCL_ARRAYS overall_length += 1; -#endif } else if (ch == '{' || ch == '}' || ch == typdelim || isspace((unsigned char) ch)) @@ -1103,7 +1101,6 @@ array_out(PG_FUNCTION_ARGS) if (needquotes[k]) { APPENDCHAR('"'); -#ifndef TCL_ARRAYS for (tmp = values[k]; *tmp; tmp++) { char ch = *tmp; @@ -1113,9 +1110,6 @@ array_out(PG_FUNCTION_ARGS) *p++ = ch; } *p = '\0'; -#else - APPENDSTR(values[k]); -#endif APPENDCHAR('"'); } else |