mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Clear paren level flag on \r or any backslash command, rather than
keeping parenlevel unchanged.
This commit is contained in:
@ -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? */
|
||||
|
Reference in New Issue
Block a user