On Fri, Jul 17, 2015 at 9:50 AM, Fabien <coelho@cri.ensmp.fr> wrote:
> sh> ./pgbench -T 3 -B -N -w 2 -S -w 7 --per-script-stats
That is a truly horrifying abuse of command-line arguments. -1 from
me, or minus more than one if I've got that many chits to burn.
I have been thinking that the way to do this is to push more into the
script file itself, e.g. allow:
\if random() < 0.1
stuff
\else
other stuff
\endif
Maybe that's overkill and there's some way of specifying multiple
scripts on the command line, but IMO what you've got here is not it.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company