model-writtenrun 433 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- The bug report in #1 demonstrated that system columns in rule-rewritten RETURNING lists produced an internal error because their negative attribute numbers could not match the rule's target list.
- Ayush Tiwari proposed consolidating several SQL-reachable internal-error fixes in #2, while Zsolt Parragi supplied a focused error-message fix in #3 and noted that actually supporting system columns would require a separate feature.
- Michael Paquier supported reporting a proper error rather than extending rule syntax in #4, explaining that this limitation was longstanding and that triggers were generally more useful.
- After Zsolt Parragi identified omissions in the proposed combined work in #5, Ayush Tiwari posted #6, preserving Zsolt's fix and adding fixes for other error-code problems.
- Michael Paquier requested separate handling of the problems in #7 and committed only the RETURNING portion as d39762b8c7, with light comment edits; his announcement in #8 confirmed application to HEAD, and the commit explicitly declined backpatching because the limitation had attracted few complaints.
- Alvaro Herrera clarified in #9 that the reported behavior was an ordinary error rather than a server crash; the focused fix had landed, while the additional changes in #6 were left outside this commit and their disposition was not established in this thread.