model-writtenrun 7509 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane proposed removing redundant targetlist entries for unchanged columns of trigger-updatable views, reporting passing regression tests and reduced duplicate expression evaluation while asking whether rule references to NEW remained correct #1.
- Amit Langote compared plans and traced the patched rule rewriting in a debugger, finding that a DO ALSO insert still received the correct targetlist while leaving the general correctness of the fallback path for further consideration #2.
- Tom argued that view-rule rewriting already supported missing target entries, and Dean Rasheed agreed after examining the change; Tom then corrected the historical details, confirming that the expansion originated with view triggers rather than the older rule machinery #3 #4 #5.
- Dean addressed the remaining subtle case of conditional-rule product queries, explaining that their preexisting use with unconditional do-nothing rules demonstrated independence from an expanded UPDATE targetlist #6.
- After the final discussion message, Tom committed the complete patch from #1 with only a comment wording adjustment as 04942bffd0, leaving no outstanding patch work in the supplied thread.