]> granicus.if.org Git - postgresql/commit
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)
commitf82d4d53020d2cb2444ea3ee18fe5a17fc2d73e7
treec0de660de3e8a58b6f35fde9d6c85eae2e939574
parent4e2d5efc6a45b1f9f96df42629f6d1c7740e657e
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