model-writtenrun 5121 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Kyotaro Horiguchi opened the thread with #1, explaining that temporary replication slots could cause process termination without a log message identifying max_slot_wal_keep_size as the cause, and proposed adding a DETAIL line.
- Ashutosh Bapat requested the limiting LSN in #2, while Bharath Rupireddy preferred putting the reason in the primary message in #3; Kyotaro initially retained DETAIL lines and extended both termination and invalidation diagnostics in #4.
- After Ashutosh endorsed the extra information but preferred primary-message placement in #5, Kyotaro reorganized the changes in #6 into a backpatchable termination-message fix, a PostgreSQL 13 variant, and additional detail for the development branch.
- Masahiko Sawada pointed out that wal_keep_size also influences the limiting LSN in #7 and suggested a configuration hint in #9; Kyotaro argued in #10 for recommending only max_slot_wal_keep_size and implemented a limiting-LSN primary message plus HINT in #11, then updated the recovery test in #12.
- After a six-month gap, Bertrand Drouvot proposed reporting the size difference instead of the absolute limiting LSN in #13, prompting Kyotaro to add pretty-printed size reporting and expose byte_size_pretty() in #14.
- Bertrand preferred raw bytes to exposing the helper or rounding the result in #15 and #17; Kyotaro removed the helper changes and used a byte count in #18, which Bertrand approved in #19.
- Tom Lane objected to the long primary messages in #20 and flagged the nonportable integer format in #21; Kyotaro merged the series into #22, restored short primary messages with DETAIL/HINT lines, and added a portable cast and format.
- Tom committed #22 as 551aa6b7b9, adding “obsolete” to the invalidation message and fixing recovery-test checks that could silently miss expected log messages; he announced the wording adjustment in #23.
- Kyotaro proposed a separate cleanup in #24 to share translatable hint strings by substituting configuration names through %s, but Tom raised completeness and translation-context concerns in #25.
- The diagnostic improvement was committed, while the translation cleanup remained uncommitted at the end of the thread: Kyotaro said in #26 that he did not intend to press the follow-up proposal.