model-writtenrun 1136 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Vishal Prasanna reported an assertion failure during logical decoding after a publication was dropped, traced it to an unlinked speculative insertion escaping transaction cleanup, and supplied a fix and regression test in #1.
- Hayato Kuroda confirmed the analysis but found that older branches lacked the detecting assertion and newer branches no longer errored on missing publications; he supported shared error-path cleanup and requested broader test coverage in #2.
- Vishal moved cleanup before the error-path branch, removed the now-unused ReorderBufferResetTXN() argument, and introduced a division-by-zero publication-filter test for PostgreSQL 15 onward while retaining the missing-publication test for PostgreSQL 14 in #3.
- Álvaro Herrera raised an ABI concern about removing the argument in #4, and Hayato and Vishal clarified that ReorderBufferResetTXN() is static and exposes no public interface in #5 and #6.
- Hayato requested assertions for older branches, combined fix-and-test patches, and a master variant, and supplied a test fix-up in #7; Vishal incorporated these changes into branch-specific patches in #8, which Hayato endorsed in #9.
- Hayato resent the unchanged patches with stable-branch attachment suffixes adjusted so cfbot would apply only the master variant in #11.
- Álvaro considered omitting PostgreSQL 14 because the production impact appeared limited to an unlikely leak in #13, but ultimately included it because its implementation closely matched PostgreSQL 15, as explained in #14.
- The supplied commit 0939aad564 matches the PostgreSQL 14 patch from #8 with one additional comment edit, credits Vishal as author and Hayato as reviewer, and records backpatching through PostgreSQL 14.
- The thread ended with the fix pushed through PostgreSQL 14 and Hayato confirming that its separate test was needed because row filters arrived in PostgreSQL 15; no outstanding work was identified in #15.