postgresql/src/bin/pgbench
Michael Paquier 9d8ef98800 Add support for \aset in pgbench
This option is similar to \gset, except that it is able to store all
results from combined SQL queries into separate variables.  If a query
returns multiple rows, the last result is stored and if a query returns
no rows, nothing is stored.

While on it, add a TAP test for \gset to check for a failure when a
query returns multiple rows.

Author: Fabien Coelho
Reviewed-by: Ibrar Ahmed, Michael Paquier
Discussion: https://postgr.es/m/alpine.DEB.2.21.1904081914200.2529@lancre
2020-04-03 11:45:15 +09:00
..
t Add support for \aset in pgbench 2020-04-03 11:45:15 +09:00
.gitignore Call xlc __isync() after, not before, associated compare-and-swap. 2016-02-19 22:47:50 -05:00
exprparse.y Update copyrights for 2020 2020-01-01 12:21:45 -05:00
exprscan.l Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
pgbench.c Add support for \aset in pgbench 2020-04-03 11:45:15 +09:00
pgbench.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00