diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-05-04 02:02:09 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-05-04 02:02:09 +0000 |
commit | 29c20d498d271d44d37db945e9ae466cdec557e2 (patch) | |
tree | 2f9f78a2e78e8ffbe12266bfc7e0bec50536045c /src/bin/psql/psql.c | |
parent | dfb731c2730063c307ff39aac9b6387f52e129bb (diff) | |
download | postgresql-29c20d498d271d44d37db945e9ae466cdec557e2.tar.gz postgresql-29c20d498d271d44d37db945e9ae466cdec557e2.zip |
Fix for missing parens with \g causing psql to get completely
confused.
Diffstat (limited to 'src/bin/psql/psql.c')
-rw-r--r-- | src/bin/psql/psql.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/psql/psql.c b/src/bin/psql/psql.c index cb6d6f993ce..ad2b93e93dd 100644 --- a/src/bin/psql/psql.c +++ b/src/bin/psql/psql.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.138 1998/04/05 21:29:36 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.139 1998/05/04 02:02:01 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -2420,6 +2420,9 @@ MainLoop(PsqlSettings *pset, char *query, FILE *source) { SendQuery(&success, pset, query, false, false, 0); successResult &= success; + xcomment = NULL; + in_quote = false; + paren_level = 0; querySent = true; } } /* while */ |