model-writtenrun 9730 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Stas Kelvich reported an AddressSanitizer finding in heap_delete(): XLogRegisterData() received a pointer to a stack variable whose scope ended before XLogInsert() used it #1.
- Stas supplied a patch extending the xl_heap_header variable's scope to cover WAL insertion, without changing the replica-identity logging logic #1.
- Michael Paquier committed the attached code unchanged as eb8c9f0bc3.
- Michael announced that the fix had been committed and backpatched through PostgreSQL 9.4 #2.
- Andres Freund subsequently thanked Stas and Michael; the thread ended with the fix landed and no outstanding work raised #3.