model-writtenrun 1011 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- SATYANARAYANA NARLAPURAM reported that cursor-based UPDATE and DELETE incorrectly rejected ordinary tables with virtual generated columns, and proposed selectively bypassing the view check with a flag and extended replacement APIs; he rejected passing range-table information into the mutator as similarly invasive #1.
- Dean Rasheed supplied a simpler replacement that rejects WHERE CURRENT OF on views during parsing and removes the erroneous check from variable replacement, avoiding the additional APIs #2.
- SATYANARAYANA NARLAPURAM reviewed and tested Dean's implementation, confirmed that view updates and deletes remained rejected, and submitted a revision adding a view-update regression test #3.
- Dean explained that tables could formerly become views through SELECT rules, which could have undermined parse-time checks, and initially considered the existing portals.sql DELETE test sufficient; Satyanarayana accepted that reasoning #4 #5.
- Dean ultimately added an UPDATE rejection test to portals.sql because it exercises a separate branch, simplified the generated-column cursor tests, and committed the lightly modified final patchset from #3 as 5548a969b6; his closing message reported checking other replacement paths without finding another affected case and confirmed that the fix was pushed and backpatched to PostgreSQL 18 #6.