model-writtenrun 826 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Chao Li reported that UPDATE/DELETE FOR PORTION OF inserted inheritance-child leftovers into the parent, losing child-only columns, and proposed separate handling for inheritance and partition routing with attribute-number regression tests in #1.
- Chao reported merging the work into a related thread in #2, but Paul A Jungwirth brought it back as an independent fix in #3 after changes to the related updatedCols work removed the need to combine them; the returned patch centralized child state initialization in ExecInitForPortionOf.
- Chao requested separating the initialization refactor from the inheritance fix in #4, and Paul explained in #5 that UPDATE OF triggers were handled by the other patch while briefly proposing eager initialization instead.
- Paul retained lazy initialization after recognizing that row filtering can avoid touching whole child tables, and #6 combined the refactored implementation with Chao's original explanation, routing boolean, and additional test checks while crediting jian he as the principal author.
- Chao confirmed that the revised patch fixed his original reproduction and approved keeping the UPDATE OF issue separate in #7.
- Chao supplied the final rebase with minor cleanup in #8, and Peter Eisentraut committed its exact diff as 7d13b03a2e, announcing completion in #9; the inheritance fix was fully landed, with the separate UPDATE OF work outside this thread.