mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-20 22:53:24 +02:00
Beyond 21474, the number of accounts exceed the range for int4. Change the initialization code to use bigint for account id columns when scale is large enough, and switch to using int64s for the variables in pgbench code. The threshold where we switch to bigints is set at 20000, because that's easier to remember and document than 21474, and ensures that there is some headroom when int4s are used. Greg Smith, with various changes by Euler Taveira de Oliveira, Gurjeet Singh and Satoshi Nagayasu. |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
pgbench.c |