Prevent integer overflow with --progress >= 2148

If --progress=2148 or higher was given, the calculation of the next time
to report overflowed, and pgbench would print a progress report very
frequently.

Kingter Wang

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/277279981fba7646d0f05a664d58b845d2fdf69d

Modified Files
--------------
contrib/pgbench/pgbench.c |    6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to