model-writtenrun 7283 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Amit Langote opened the thread with #1, separating work from an earlier permissions discussion and proposing planner-computed extraUpdatedCols bitmaps stored in ModifyTable; #3 made only a typed-list-access change and revised the commit message.
- While reviewing for commit, Tom Lane discovered that translating a parent's generated-column bitmap misses generated columns present only in inheritance children, demonstrated incorrect UPDATE results, and initially proposed independent planner calculations for each child #5.
- Tom then proposed delaying calculation until executor startup to potentially avoid work for runtime-pruned partitions #6, and supplied a replacement patch integrating dependency calculation with generated-expression initialization, retaining a planner helper for postgres_fdw and adding an inheritance regression test #7.
- Amit endorsed the runtime approach and offered help with backporting #8; Tom explained that reusing RangeTblEntry storage would not cover every ResultRelInfo and that stable branches needed another storage arrangement #9.
- Tom committed 3f7836ff65 from #7 with light initialization, naming, function-placement, and comment edits, crediting both authors and backpatching through PostgreSQL 13 with ABI-compatible EState storage; the commit explicitly left a possible PostgreSQL 12 trigger corner case unfixed.
- After landing, Amit accepted the committed implementation but questioned whether inherited generated expressions could differ #10; Tom pointed to enforcement holes discussed separately #11, and Amit agreed to follow up there #12, leaving this thread's fix landed while partitioning restrictions remained a separate discussion.