pgsql: Fix pgbench's calculation of average latency, when -T is not use

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Fix pgbench's calculation of average latency, when -T is not use
Дата
Msg-id E1bmejp-000106-Q7@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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: <alpine.DEB.2.20.1607131015370.7486@sto>

Branch
------
REL9_5_STABLE

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

Modified Files
--------------
src/bin/pgbench/pgbench.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix pgbench's calculation of average latency, when -T is not use
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Add more parallel query documentation.