--- postgresql-7.4beta3/src/interfaces/libpq/fe-exec.c 2003-09-05 05:08:36.000000000 +0300 +++ psql/src/interfaces/libpq/fe-exec.c 2003-09-29 19:40:06.481977880 +0300 @@ -2179,2 +2179,6 @@ PQescapeString(char *to, const char *fro break; + + case 0: + remaining = 0; + continue;