pgsql: Add information about WAL buffers full to VACUUM/ANALYZE (VERBOS - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Add information about WAL buffers full to VACUUM/ANALYZE (VERBOS
Date
Msg-id E1tjuQ3-007Yds-H9@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add information about WAL buffers full to VACUUM/ANALYZE (VERBOSE)

This commit adds the information about the number of times WAL buffers
have been full to the logs generated by VACUUM/ANALYZE (VERBOSE) and in
the logs generated by autovacuum, complementing the existing information
stored by WalUsage.

This is the last part of the backend code where the value of
wal_buffers_full can be reported, similarly to all the other fields of
WalUsage.  320545bfcfee and ce5bcc4a9f26 have done the same for EXPLAIN
and pgss.

Author: Bertrand Drouvot
Reviewed-by: Ilia Evdokimov
Discussion: https://postgr.es/m/Z6SOha5YFFgvpwQY@ip-10-97-1-34.eu-west-3.compute.internal

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6a8a7ce476bd5f042999a04a0d767b38ea6faec0

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 5 +++--
src/backend/commands/analyze.c       | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add information about WAL buffers being full to EXPLAIN (WAL)
Next
From: Amit Langote
Date:
Subject: pgsql: Fix an oversight in cbc127917 to handle MERGE correctly