model-writtenrun 9072 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Takayuki Tsunakawa submitted #1 to make recovery and pg_resetwal initialize fake unlogged LSNs to FirstNormalUnloggedLSN (1000), matching initdb, while asking whether the existing inconsistency caused actual harm.
- Michael Paquier explained that lower values are reserved for access-method purposes and recommended backpatching to PostgreSQL 12 in #2; Kyotaro Horiguchi endorsed that assessment in #3.
- Dilip Kumar raised the StartupXLOG() initialization in #4, but Takayuki confirmed that the submitted patch already fixed it in #8, so no revision was needed.
- Simon Riggs questioned why the value was 1000 rather than aligned to WAL boundaries in #5; Takayuki explained that fake LSNs do not represent physical WAL positions in #7, and Heikki Linnakangas confirmed that 1000 was simply a round decimal choice in #9.
- Michael verified the initialization sites in #10 and explained the GiST interlocking requirement for valid LSNs while approving the patch after a second look in #11.
- Michael committed the original two-line patch unchanged as 51970fa8df and announced its application and backpatching to PostgreSQL 12 in #12.
- Dilip acknowledged overlooking the existing startup fix in #13, and Michael closed the thread with pg_controldata output showing the fake LSN counter at 0/3E8 (1000) in #14; no work remained pending.