pgsql: Fix pgbench's calculation of average latency, when -T is not use
pgsql: Fix pgbench's calculation of average latency, when -T is not use
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
Fix pgbench's calculation of average latency, when -T is not used. If the test duration was given in # of transactions (-t or no option), rather as a duration (-T), the latency average was always printed as 0. It has been broken ever since the display of latency average was added, in 9.4. Fabien Coelho Discussion: Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/65c65563842cc99fb1c349211581a62dc728eee2 Modified Files -------------- src/bin/pgbench/pgbench.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)