Suppress bogus statistics when pgbench failed to complete any transactions.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pgbench/pgbench.c | modified | +4 −0 |