Skip to content
Snippets Groups Projects
Commit 298845a6 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Allow ; in () in psql.

parent e6ac08c3
No related branches found
No related tags found
No related merge requests found
......@@ -270,11 +270,10 @@ MainLoop(PsqlSettings *pset, FILE *source)
free(line);
line = new;
continue; /* reparse the just substituted */
}
}
/* semicolon? then send query */
else if (line[i] == ';' && !was_bslash)
else if (line[i] == ';' && !was_bslash && !paren_level)
{
/* delete the old query buffer from last time around */
if (slashCmdStatus == CMD_SEND)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment