pgbench has #defines for number of branches, tellers, and accounts. There
authorTatsuo Ishii <ishii@postgresql.org>
Thu, 10 Sep 2009 13:59:57 +0000 (13:59 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Thu, 10 Sep 2009 13:59:57 +0000 (13:59 +0000)
commit0da8711a2f326f1122ffebff87b9fff4d5a4d8b8
treefbf584868cb63889e7cccce86623ae568bf74797
parentbc5ae60fad6a69bae5958309027bdd856b7a8cc4
pgbench has #defines for number of branches, tellers, and accounts.  There
are used to populate the tables with -i, but when running actual benchmark
it has values separately hard-coded in the query metacommands.  This patch
makes the metacommands obtain their values from the relevant #defines.

Patch provided by Jeff Janes.
contrib/pgbench/pgbench.c