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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Print test parameters like "foo: 123", and results like "foo = 1
Date: 2016-09-21 10:26:49
Message-ID: E1bmejp-0000zz-Pm@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)DEB(dot)2(dot)20(dot)1607131015370(dot)7486(at)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-09-21 12:43:33 pgsql: Add more parallel query documentation.
Previous Message Michael Paquier 2016-09-21 01:54:23 Re: pgsql: Re-add translation markers that were lost