Обсуждение: pgsql: Print test parameters like "foo: 123", and results like "foo = 1

Поиск
Список
Период
Сортировка

pgsql: Print test parameters like "foo: 123", and results like "foo = 1

От
Heikki Linnakangas
Дата:
Print test parameters like "foo: 123", and results like "foo = 123".

The way "latency average" was printed was differently if it was calculated
from the overall run time or was measured on a per-transaction basis.
Also, the per-script weight is a test parameter, rather than a result, so
use the "weight: %f" style for that.

Backpatch to 9.6, since the inconsistency on "latency average" was
introduced there.

Fabien Coelho

Discussion: <alpine.DEB.2.20.1607131015370.7486@sto>

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/970300faae189c38fbe393dfab1e326fb75c9a49

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