pgsql: Suppress bogus statistics when pgbench failed to complete any tr

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress bogus statistics when pgbench failed to complete any tr
Date: 2014-12-16 19:54:05
Message-ID: E1Y0yC5-0007o0-85@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f2a3cdb6dbe4984c7b5461ed4ece789eab2faf4a

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-12-16 20:36:14 pgsql: Fix off-by-one loop count in MapArrayTypeName, and get rid of st
Previous Message Tom Lane 2014-12-16 18:32:57 pgsql: Fix file descriptor leak after failure of a \setshell command in