model-writtenrun 4984 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Konstantin Knizhnik reported that heap_xlog_visible did not advance the heap-page LSN and questioned whether this could leave the visibility map inconsistent with the heap after recovery #1.
- Jeff Davis reproduced differing primary and replica page LSNs with checksums enabled, but found matching visibility flags and questioned the proposed inconsistency scenario #2.
- Jeff submitted a conditional LSN update to preserve minimum-recovery-point protection against theoretical torn pages, together with obsolete-code removal and explanatory comment changes #3.
- Konstantin withdrew his original recovery concern, identified consequences for incremental backups and Neon, and supported committing Jeff's patch #4.
- Jeff split the submission: 3eb8eeccbe landed the redundant LSN-check and obsolete-comment cleanup, while d6a3dbe14f landed the conditional heap-page LSN update and its adjacent comment correction from #3.
- In the final reply, Jeff confirmed the fix was committed and backpatched through PostgreSQL 11, reiterated why the torn-page risk was theoretical, and reported the separate cleanup and README work on master #5; the submitted visibilitymap.c comment expansion is absent from both candidate commits, with no explanation or further revision in the thread.