model-writtenrun 2059 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Etsuro Fujita reported incorrect or missing transition tuples when modifying foreign-table partitions and proposed disabling FDW direct modification and rejecting actual transition capture, preserving operations that touch only ordinary partitions instead of banning transition-table triggers on the parent #1.
- Amit Langote questioned whether locally visible rows were acceptable transition tuples, and Etsuro clarified that the final remotely inserted row was required for consistency with ordinary partitions; execution-time checks also avoid errors when BEFORE triggers suppress the operation #2 #3 #4 #5.
- Etsuro added assertions, comments, and regression coverage for both inheritance forms in #6, and Amit approved that version while suggesting a possible optimization for repeated table_open() calls #7.
- Amit withdrew the optimization suggestion after recognizing that the existing checks concern individual children while transition-table detection concerns the named parent relation #8.
- Etsuro removed redundant assertions and reused an existing regression-test trigger function in #9; this version became 62a1211d33 with only an invariant-check cleanup and whitespace changes beyond rebasing.
- Etsuro closed the thread by confirming that the fix had been pushed and backpatched to all supported versions, leaving no outstanding patch work in the thread #10.