postgresql/src/bin
Alvaro Herrera 6260cc550b pgbench: add \cset and \gset commands
These commands allow assignment of values produced by queries to pgbench
variables, where they can be used by further commands.  \gset terminates
a command sequence (just like a bare semicolon); \cset separates
multiple queries in a compound command, like an escaped semicolon (\;).
A prefix can be provided to the \-command and is prepended to the name
of each output column to produce the final variable name.

This feature allows pgbench scripts to react meaningfully to the actual
database contents, allowing more powerful benchmarks to be written.

Authors: Fabien Coelho, Álvaro Herrera
Reviewed-by: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Reviewed-by: Stephen Frost <sfrost@snowman.net>
Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Tatsuo Ishii <ishii@sraoss.co.jp>
Reviewed-by: Rafia Sabih <rafia.sabih@enterprisedb.com>
Discussion: https://postgr.es/m/alpine.DEB.2.20.1607091005330.3412@sto
2019-01-10 13:42:20 -03:00
..
initdb initdb: Use atexit() 2019-01-07 16:24:50 +01:00
pg_archivecleanup Integrate recovery.conf into postgresql.conf 2018-11-25 16:33:40 +01:00
pg_basebackup pg_basebackup: Use atexit() 2019-01-07 16:21:47 +01:00
pg_config Update copyright for 2019 2019-01-02 12:44:25 -05:00
pg_controldata Update copyright for 2019 2019-01-02 12:44:25 -05:00
pg_ctl Update copyright for 2019 2019-01-02 12:44:25 -05:00
pg_dump Update copyright for 2019 2019-01-02 12:44:25 -05:00
pg_resetwal Update copyright for 2019 2019-01-02 12:44:25 -05:00
pg_rewind Update copyright for 2019 2019-01-02 12:44:25 -05:00
pg_test_fsync Translation updates 2018-05-21 12:29:52 -04:00
pg_test_timing Translation updates 2018-05-21 12:29:52 -04:00
pg_upgrade Update copyright for 2019 2019-01-02 12:44:25 -05:00
pg_verify_checksums Update copyright for 2019 2019-01-02 12:44:25 -05:00
pg_waldump Update copyright for 2019 2019-01-02 12:44:25 -05:00
pgbench pgbench: add \cset and \gset commands 2019-01-10 13:42:20 -03:00
pgevent Update copyright for 2019 2019-01-02 12:44:25 -05:00
psql Update copyright for 2019 2019-01-02 12:44:25 -05:00
scripts Add --disable-page-skipping and --skip-locked to vacuumdb 2019-01-08 10:52:29 +09:00
Makefile Update copyright for 2019 2019-01-02 12:44:25 -05:00