model-writtenrun 8413 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed aligning pg_stat_wal_receiver with the WAL receiver's shared-memory fields by renaming received_lsn to flushed_lsn and adding written_lsn before beta1, accepting a compatibility change to preserve that correspondence #1.
- Alvaro Herrera requested that written_lsn precede flushed_lsn, and Michael's revised patch applied that ordering throughout the interface and added a catalog-version bump #2 #3.
- Alvaro explained that written progress conceptually precedes flushed progress and proposed clearer documentation warning against using written_lsn for data-integrity checks; Michael accepted those edits #4 #5.
- Michael committed the revised patch with light documentation, ordering and catalog-version edits as 2c8dd05d6c, then confirmed completion in #6.
- Fujii Masao found a remaining received_lsn reference in the high-availability documentation and supplied an inline replacement; he also raised the naming inconsistency with pg_last_wal_receive_lsn() while accepting its existing name #7.
- Michael accepted the documentation correction and argued that renaming pg_last_wal_receive_lsn() was unnecessary because its flushed-position semantics were already documented; he applied the inline correction as a56e7046d6 #8.
- Fujii acknowledged the documentation fix and agreed to retain the function name, leaving both changes committed with no outstanding patch revision requested #9.