|
|
|
|
@ -7,7 +7,7 @@ |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
* IDENTIFICATION |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.5 1996/09/19 20:04:56 scrappy Exp $ |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.6 1996/11/04 04:05:10 momjian Exp $ |
|
|
|
|
* |
|
|
|
|
*------------------------------------------------------------------------- |
|
|
|
|
*/ |
|
|
|
|
@ -227,14 +227,12 @@ _ArrayCount(char *str, int dim[], int typdelim) |
|
|
|
|
bool done = false; |
|
|
|
|
while (!done) { |
|
|
|
|
switch (*q) { |
|
|
|
|
#ifdef ESCAPE_PATCH |
|
|
|
|
case '\\': |
|
|
|
|
/* skip escaped characters (\ and ") inside strings */ |
|
|
|
|
if (scanning_string && *(q+1)) { |
|
|
|
|
q++; |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
#endif |
|
|
|
|
case '\0': |
|
|
|
|
/* Signal a premature end of the string. DZ - 2-9-1996 */ |
|
|
|
|
elog(WARN, "malformed array constant: %s", str); |
|
|
|
|
|