model-writtenrun 2563 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Bertrand Drouvot proposed moving wal_buffers_full into WalUsage to simplify upcoming per-backend WAL statistics and expose the counter through pg_stat_statements and EXPLAIN, while noting that a statement can encounter buffers filled partly by other work and that stable counter tests would be difficult #1.
- Bertrand extended the series to report the counter in VACUUM/ANALYZE VERBOSE output and autovacuum logs #2.
- Ilia Evdokimov requested an explicit EXPLAIN condition for wal_buffers_full and suggested grouping pg_stat_statements WAL columns together #3; Bertrand initially considered the condition redundant and preferred appending the column to preserve ordinal positions #4.
- Michael Paquier supported grouping the WAL fields and adding the explicit EXPLAIN condition for consistency, endorsed the reporting additions, and explained how the relocation would simplify per-backend statistics #5 #6.
- Bertrand adopted the WAL-field grouping but instead simplified EXPLAIN's condition to wal_bytes > 0 in the final attached series #7.
- Michael committed the WalUsage relocation unchanged apart from rebasing as eaf502747b, then committed the pg_stat_statements patch with added conditional braces as ce5bcc4a9f, both from #7.
- Michael committed the EXPLAIN patch from #7 as 320545bfcf, retaining explicit counter checks including wal_buffers_full and changing the text label to buffers full, then committed the maintenance-reporting patch unchanged apart from rebasing as 6a8a7ce476.
- Michael confirmed that the entire series had landed, explained the EXPLAIN label's consistency with existing space-separated labels, and left per-backend WAL statistics as follow-up work outside this series #8.