]> granicus.if.org Git - postgresql/commit
Fix progress logging when scale factor is large.
authorTatsuo Ishii <ishii@postgresql.org>
Thu, 12 Dec 2013 10:01:01 +0000 (19:01 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Thu, 12 Dec 2013 10:07:53 +0000 (19:07 +0900)
commit27902bc9164d227cbdf1242de218edeaf8cd9f7f
tree9204ce465f24cb2a6699020aabea81b004771f6b
parent6dc71a7e773c55cff72fc1f9c960287480ad3130
Fix progress logging when scale factor is large.

Integer overflow showed minus percent and minus remaining time something like this.
  239300000 of 3800000000 tuples (-48%) done (elapsed 226.86 s, remaining -696.10 s).
contrib/pgbench/pgbench.c