model-writtenrun 9664 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed three ri_triggers.c cleanup patches in #1: centralize match-type validation and remove unused MATCH PARTIAL scaffolding, reduce bulky comments, and declare loop variables inside for loops, arguing that a future MATCH PARTIAL implementation would not need the existing switch structure.
- After inspecting the code, Corey Huinker suggested combining the still-separate SET NULL and SET DEFAULT paths in #2.
- Corey supplied an additional patch on top of Peter's series in #3, sharing the two paths through ri_set() while preserving the DEFAULT-only recheck, and reported that make check passed.
- Peter endorsed the consolidation as analogous to ri_restrict() sharing RESTRICT and NO ACTION handling in #4, and Corey confirmed that inspiration in #5.
- Peter's original patches from #1 landed on February 28 as 0afdecc1e5, 05d604718f, and 554ebf6878, retaining their changes with necessary rebasing onto tuple-slot APIs and crediting Corey's review.
- Corey's additional patch from #3 landed later that day as 3f61999cc9 with light naming, placement, and presentation edits; Peter confirmed in #6 that the whole series, including Corey's patch, was committed.