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
8bea3d2 pgbench: improve multi-script support
doc/src/sgml/ref/pgbench.sgml | 74 ++++++---
src/bin/pgbench/pgbench.c | 333 +++++++++++++++++++++++++----------------
2 files changed, 253 insertions(+), 154 deletions(-)
Upstream: git.postgresql.org