model-writtenrun 2053 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Etsuro Fujita reported that reattaching a partition with a statement trigger using a transition table failed with an error claiming that row triggers were unsupported #1.
- Etsuro traced the failure to FindTriggerIncompatibleWithInheritance(), which checked for transition tables without first checking whether the trigger was row-level; the same oversight affected adding inheritance relationships #1.
- The attached fix skips statement triggers and adds regression tests for detaching and reattaching a partition and removing and restoring an inheritance relationship #1.
- Etsuro committed the patch as bba6a6fafc, retaining the implementation and test statements from #1 while expanding the test comments; the commit specifies backpatching through PostgreSQL 13.
- Etsuro closed the thread by announcing that, with no objections, he had pushed and backpatched the fix; no review replies or outstanding work appear in the thread #2.