1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Fix for missing parens with \g causing psql to get completely

confused.
This commit is contained in:
Bruce Momjian
1998-05-04 02:02:09 +00:00
parent dfb731c273
commit 29c20d498d
5 changed files with 460 additions and 455 deletions

View File

@ -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 */