]> granicus.if.org Git - postgresql/commit
Suppress bogus statistics when pgbench failed to complete any transactions.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 Dec 2014 19:53:58 +0000 (14:53 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 Dec 2014 19:53:58 +0000 (14:53 -0500)
commitf2a3cdb6dbe4984c7b5461ed4ece789eab2faf4a
tree8ac2e884b36448c73c394cfd4b2bb8ac7ee3c4b3
parent6c75384eed8770b11f01378b37dc4bd07a5710f1
Suppress bogus statistics when pgbench failed to complete any transactions.

Code added in 9.4 would attempt to divide by zero in such cases.
Noted while testing fix for missing-pclose problem.
contrib/pgbench/pgbench.c