model-writtenrun 4005 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed correcting pg_resetwal -c documentation with a segment multiplier and an upper-bound increment, while changing the minimum nonzero transaction ID from FrozenTransactionId to FirstNormalTransactionId in #1.
- Alvaro Herrera explained in #2 that the proposed multiplier should be 26208 rather than 13088, and that partially populated files and transaction-ID wraparound also made the documented calculation unsafe.
- Alvaro Herrera also confirmed in #2 that accepting transaction ID 2 appeared to be an unexplained mistake he introduced when committing the original implementation.
- Peter Eisentraut committed only the unchanged transaction-ID validation portion of #1 as e3679bc1c3, then announced the commit and asked whether other SLRU-based documentation had similar problems in #3.
- The documentation remained unresolved at the end of the thread: Alvaro Herrera suspected the other guides had similar issues and proposed a shared explanation of safe maximum values with per-option multipliers in #4.