pgbench: improve multi-script support
Previously, it was possible to specify one or several custom scripts to
run, or only one of the builtin scripts. With this patch it is also
possible to specify to run the builtin scripts multiple times, using the
new -b option. Also, unify the code for both cases; this eases future
pgbench improvements.
Author: Fabien Coelho
Review: Michaël Paquier, Álvaro Herrera
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/8bea3d2219844887e170471f223ba100b3c17571
Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml | 74 ++++++---
src/bin/pgbench/pgbench.c | 333 +++++++++++++++++++++++++----------------
2 files changed, 253 insertions(+), 154 deletions(-)