1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-02 11:44:50 +03:00

Clear paren level flag on \r or any backslash command, rather than

keeping parenlevel unchanged.
This commit is contained in:
Bruce Momjian 1999-12-16 23:54:41 +00:00
parent 397e9b32a3
commit 1b22a8cb03

View File

@ -313,6 +313,7 @@ MainLoop(PsqlSettings *pset, FILE *source)
{
const char *end_of_cmd = NULL;
paren_level = 0;
line[i - prevlen] = '\0'; /* overwrites backslash */
/* is there anything else on the line? */