model-writtenrun 2648 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed a shared statistics WAL resource manager with per-kind replay callbacks, allowing statistics kinds to choose their payloads and recovery behavior; #1 included prerequisites and injection-point tests, while leaving actual table-statistics persistence for future work.
- Michael reported that the injection-point prerequisite had landed separately and resent the three remaining patches in #2.
- Bertrand Drouvot reviewed the remaining series in #3, suggesting copyright and wording changes, simpler replay handling, and explicit zeroing of the example WAL record to account for padding.
- Andres Freund challenged the central design in #4, arguing that table statistics should be reconstructed from existing WAL and keyed by relfilenode; Michael defended a shared facility for custom statistics, historical tracking, and injection points in #5.
- Michael incorporated Bertrand’s cleanup suggestions in #6, retained RecoveryInProgress() in the example, and separated the independently useful header extraction from the unresolved WAL design.
- Michael committed the header-extraction portion of #6 as d35ea27e51 with an unchanged code diff and revised commit explanation, then resent the remaining WAL facility and tests in #7.
- After Andres reiterated his strong design objection in #8, Michael set the remaining proposal aside in #9, leaving the header refactoring landed and the WAL facility uncommitted.
- Cédric Villemain described an external statistics-plugin and consumption use case in #10, while supporting restraint in using WAL; Michael’s final response in #11 discussed possible hooks and existing custom-resource-manager solutions without reviving the withdrawn series.