From 29c20d498d271d44d37db945e9ae466cdec557e2 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 4 May 1998 02:02:09 +0000 Subject: Fix for missing parens with \g causing psql to get completely confused. --- src/bin/psql/psql.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/bin/psql/psql.c') 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 */ -- cgit v1.2.3