pgsql: Print test parameters like "foo: 123", and results like "foo = 1 - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Print test parameters like "foo: 123", and results like "foo = 1
Date
Msg-id E1bmejp-0000zz-Pm@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2a7f4f76434d82eb0d1b5f4f7051043e1dd3ee1a

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


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix pgbench's calculation of average latency, when -T is not use
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix pgbench's calculation of average latency, when -T is not use