pgsql: Suppress bogus statistics when pgbench failed to complete any tr - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Suppress bogus statistics when pgbench failed to complete any tr
Date
Msg-id E1Y0yC5-0007nz-8B@gemulon.postgresql.org
Whole thread Raw
List 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
------
master

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

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Suppress bogus statistics when pgbench failed to complete any tr
Next
From: Tom Lane
Date:
Subject: pgsql: Fix off-by-one loop count in MapArrayTypeName, and get rid of st