model-writtenrun 7730 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Bertrand Drouvot reported crashes during cascading deletes and updates involving transition tables, traced them to premature slot cleanup, and supplied an initial allocation-and-reinitialization fix in #1.
- Amit Langote explained that executor tuple-table cleanup would still invalidate the cached slot and supplied a replacement using a standalone slot with explicit cleanup, covering both OLD TABLE and NEW TABLE conversion and adding regression tests in #2.
- Bertrand Drouvot endorsed the replacement and confirmed that its regression tests reproduced the crashes without the fix in #3; he is also credited as a co-author in #2, so he is excluded from suggested reviewers.
- Alvaro Herrera committed #2 with light cleanup as 25936fd46c, backpatched the fix through PostgreSQL 12, and added the tests to PostgreSQL 11 to confirm its existing behavior, as reported in #6.
- Amit Langote acknowledged the backpatching decision in #7, and Bertrand Drouvot closed the thread with thanks in #8, leaving no outstanding patch work.