pgsql: Allow empty queries in pgbench. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Allow empty queries in pgbench.
Date
Msg-id E1barPU-0004E8-LR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow empty queries in pgbench.

This might have been too much of a foot-gun before 9.6, but with the
new commands-end-at-semicolons parsing rule, the only way to get an
empty query into a script is to explicitly write an extra ";".
So we may as well allow the case.

Fabien Coelho

Patch: <alpine.DEB.2.20.1607090922170.3412@sto>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6471045230f5d891ad724c54d406e2214f3c96d9

Modified Files
--------------
src/bin/pgbench/pgbench.c | 1 +
1 file changed, 1 insertion(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Use LEFT JOINs in some system views in case referenced row doesn
Next
From: Tom Lane
Date:
Subject: pgsql: Make initdb's suggested "pg_ctl start" command line more reliabl