model-writtenrun 2585 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Kyotaro Horiguchi reported a crash during cross-partition updates when UPDATE and DELETE triggers require different transition tables, tracing it to flags that indicate a tuplestore exists when it does not #1.
- Horiguchi supplied a regression test and branch-specific fixes that make MakeTransitionCaptureState() return consistent flags; PostgreSQL 15 and newer already avoided the crash but still warranted the consistency correction #1.
- Michael Paquier checked PostgreSQL 10, supported the proposed correction and tests across branches, and explained that the imminent release temporarily prevented stable-branch changes #2.
- The fix landed as 773c51dd39 from #1, with Paquier adjusting the regression-test values to make the transition-table output more informative, as explained in #3.
- Paquier confirmed that the revised test still reproduced the crash and that the change had been applied down to PostgreSQL 13, leaving no outstanding work identified in the thread #3.