pgsql: Allow empty queries in pgbench.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow empty queries in pgbench.
Date: 2016-08-19 21:33:04
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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(dot)DEB(dot)2(dot)20(dot)1607090922170(dot)3412(at)sto>



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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-08-20 19:05:30 pgsql: Make initdb's suggested "pg_ctl start" command line more reliabl
Previous Message Tom Lane 2016-08-19 21:13:52 pgsql: Use LEFT JOINs in some system views in case referenced row doesn