model-writtenrun 8267 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Fujii Masao opened the discussion in #1 after users questioned why max_slot_wal_keep_size measured bytes while wal_keep_segments counted files; he favored renaming the latter to wal_keep_size over reverting to segment units or supporting mixed units under the old name.
- Kyotaro Horiguchi supported the move toward size units in #2; Álvaro Herrera questioned retaining the setting at all in #3, but accepted the rename in #5 after Fujii explained its simplicity and independence from replication-slot management in #4.
- Bruce Momjian questioned how the proposed name fit existing WAL settings in #7; Álvaro defended wal_keep_size in #8, and Bruce clarified that he had no firm alternative in #9.
- Fujii posted the implementation in #11, converting the configuration and retention calculations to size units and updating documentation and tests; Álvaro requested wording corrections in #12, while Kyotaro identified an incorrect test conversion for 1MB WAL segments in #13.
- Fujii incorporated those corrections in #14, including changing the test setting to 8MB, and deferred broader replication-slot documentation improvements to a separate patch in #15; Kyotaro confirmed in #16 that his earlier failure was an apply conflict caused by the master-to-primary terminology change.
- Fujii rebased the implementation in #17; David Steele then refined the WAL-retention explanation in #18 and #20, preserving the statement that the most recent WAL and one additional file are retained.
- Fujii committed #17 with David's final wording as c3fe108c02, backpatched the change to PostgreSQL 13, and announced the landing and need for a release note in #21.
- Fujii submitted the release-note patch in #22, including the old-to-new setting conversion formula; David clarified its units in #23, and Fujii incorporated that wording in 128fd0a65a, confirming the landing in #24.
- By #24, both the rename and its release note had landed; the broader replication-slot documentation cleanup proposed in #13 and deferred in #15 was not pursued further in this thread.