Commit 298845a6 authored by Bruce Momjian's avatar Bruce Momjian

Allow ; in () in psql.

parent e6ac08c3
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment