pgsql: Allow backslash line continuations in pgbench's meta commands.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow backslash line continuations in pgbench's meta commands.
Date: 2017-01-20 16:10:48
Message-ID: E1cUbm4-0005gz-5f@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/cdc2a70470bdbe3663dc464deb753d6d931bba61

Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml | 6 ++++--
src/bin/pgbench/exprscan.l | 21 +++++++++++++++++++--
2 files changed, 23 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-01-20 17:51:40 pgsql: Try to fix non-MSVC Windows builds in the wake of logical replic
Previous Message Fujii Masao 2017-01-20 15:56:32 pgsql: Add description of temporary column into pg_replication_slots do