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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Suppress bogus statistics when pgbench failed to complete any tr
Дата
Msg-id E1Y0yC5-0007o0-85@gemulon.postgresql.org
обсуждение исходный текст
Список 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(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix file descriptor leak after failure of a \setshell command in
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Suppress bogus statistics when pgbench failed to complete any tr