Allow backslash line continuations in pgbench's meta commands.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: cdc2a70470bdbe3663dc464deb753d6d931bba61
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-01-20T16:10:22Z
Releases: 10.0
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

Files

PathChange+/−
doc/src/sgml/ref/pgbench.sgml modified +4 −2
src/bin/pgbench/exprscan.l modified +19 −2

Documentation touched

Discussion