model-writtenrun 4235 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tomas Vondra reported that pg_waldump emitted a missing-contrecord error for every WAL segment after a recovery-prefetch change, and that reverting that change removed the errors #1.
- Thomas Munro explained that the diagnostic was noise when pg_waldump reached a requested segment boundary or walsender shut down, although the equivalent condition during crash recovery might deserve reporting #2.
- Thomas Munro attached a patch restoring silent end-of-decoding while retaining deferred-error state to prevent retries from clobbering aborted-contrecord information, proposing a backpatch and leaving finer distinctions for future work #2.
- Tomas Vondra endorsed that approach, arguing that alarming messages for expected conditions risk teaching users to ignore errors #3.
- Thomas Munro committed the attached code unchanged as 4637a6ac0b, with backpatches through PostgreSQL 15, and confirmed completion while suggesting that classification of these failures could be considered alongside the existing proposal to make end-of-recovery messages less scary #4.