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:
parent
397e9b32a3
commit
1b22a8cb03
@ -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? */
|
||||
|
Loading…
x
Reference in New Issue
Block a user