pgbench: improve multi-script support

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 8bea3d2219844887e170471f223ba100b3c17571
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2016-01-27T01:54:22Z
Releases: 9.6.0
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

Files

PathChange+/−
doc/src/sgml/ref/pgbench.sgml modified +50 −24
src/bin/pgbench/pgbench.c modified +203 −130

Documentation touched