aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonb.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-05-25 16:33:29 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-05-25 16:33:29 -0400
commit9a65fb350717360c505de9df411024d47e55710b (patch)
treeceb34ba40cfbe9163a685729213b7b32a691f483 /src/backend/utils/adt/jsonb.c
parent9fa93530c878a0e23147a65f7d9a62802b22a995 (diff)
downloadpostgresql-9a65fb350717360c505de9df411024d47e55710b.tar.gz
postgresql-9a65fb350717360c505de9df411024d47e55710b.zip
Allow total number of transactions in pgbench to exceed INT_MAX.
Change the total-transactions counters from int32 to int64 to accommodate cases where we do more than 2^31 transactions during a run. This patch does not change the INT_MAX limit on explicit "-t" parameters, but it does allow the product of the -t and -c parameters to exceed INT_MAX, or allow a -T limit that is large enough that more than 2^31 transactions can be completed. While pgbench did not actually fail in such cases, it did print an incorrect total-transactions count, and some of the derived numbers such as TPS would have been wrong as well. Tomas Vondra
Diffstat (limited to 'src/backend/utils/adt/jsonb.c')
0 files changed, 0 insertions, 0 deletions