]> granicus.if.org Git - postgresql/commit
Allow backslash line continuations in pgbench's meta commands.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Jan 2017 16:10:02 +0000 (11:10 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Jan 2017 16:10:22 +0000 (11:10 -0500)
commitcdc2a70470bdbe3663dc464deb753d6d931bba61
tree66d0896df12847de3794d3dd28f4e610ddbd9659
parent954737095061e5b5f1d87fb8cc43f7f8afff64c6
Allow backslash line continuations in pgbench's meta commands.

A pgbench meta command can now be continued onto additional line(s) of a
script file by writing backslash-return.  The continuation marker is
equivalent to white space in that it separates tokens.

Eventually it'd be nice to have the same thing in psql, but that will
be a much larger project.

Fabien Coelho, reviewed by Rafia Sabih

Discussion: https://postgr.es/m/alpine.DEB.2.20.1610031049310.19411@lancre
doc/src/sgml/ref/pgbench.sgml
src/bin/pgbench/exprscan.l