model-writtenrun 9356 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier reported a PostgreSQL 11.2 pg_waldump crash caused by reading XLOG_BTREE_META_CLEANUP metadata from empty main record data, and attached a patch to retrieve the metadata from block zero instead #1.
- Peter Geoghegan corrected the filename in Michael's explanation to nbtdesc.c and pointed to coverage information, without proposing a change to the attached code #2.
- Michael acknowledged the filename correction and said the fix would wait until after that week's release #3.
- Peter explained that the record type was relatively uncommon and pg_waldump usage limited, making the year-long delay in discovering the bug unsurprising #4.
- Michael subsequently found that installcheck generated these records and verified incorrect descriptions, checked that WAL insertion and description agreed after the fix, and committed the unchanged patch as 3c28fd2281 with a backpatch through PostgreSQL 11; he also confirmed that metadata restoration already worked correctly #5.