pgsql: Change aggregated log format of pgbench.

Started by Tatsuo Ishiiover 4 years ago1 messagescomitters
Jump to latest
#1Tatsuo Ishii
ishii@postgresql.org

Change aggregated log format of pgbench.

Commit 4a39f87acd changed the aggregated log format. Problem is, now
the explanatory paragraph for the log line in the document is too
long. Also the log format included more optional columns, and it's
harder to parse the log lines. This commit tries to solve the
problems.

- There's no optional log columns anymore. If a column is not
meaningful with provided pgbench option, it will be presented as 0.

- Reorder the log columns so that it's easier to parse them.

- Adjust explanatory paragraph for the log line in the doc.

Discussion: /messages/by-id/flat/202203280757.3tu4ovs3petm@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/17a856d08bedeaec77be3f15572e01f553e9613f

Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml | 64 +++++++++++++++++++++++++++----------------
src/bin/pgbench/pgbench.c | 59 +++++++++++++++++++++++++++------------
2 files changed, 82 insertions(+), 41 deletions(-)