model-writtenrun 7010 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andreas Karlsson revived Marko Tiikkaja's older ON CONFLICT DO SELECT patch in #1, proposing RETURNING of existing conflicting rows with optional row locking and identifying RLS, partition support, tests, and documentation as unfinished work.
- Andreas fixed permissions and execution bugs, including an SPI problem found by Joel Jacobson, in #2; Joel then reported successful testing and a favorable initial code review in #3, highlighting idempotent get-or-create APIs.
- Andreas added RLS enforcement in #4, choosing errors on policy violations rather than silently filtering returned rows, while asking whether that choice was appropriate.
- After a gap until March, Andreas rebased onto OLD/NEW RETURNING support in #5 and corrected EXPLAIN branches after CI feedback in #6.
- Joel read the complete patch and reported comment nits in #7, while stepping back from responsibility for unfamiliar areas; Kirill Reshke tested it and raised command-count and crash concerns in #8 and #9.
- Dean Rasheed argued in #10 that selected conflicts should count toward the command result and that OLD and NEW should both contain the unchanged existing row, rather than NEW being null.
- Dean supplied a rebased series and separate review fixes in #11, implementing matching OLD/NEW results, EXCLUDED references in WHERE, simpler RLS checks, rule deparsing, and RETURNING validation, while endorsing RLS errors and identifying a partition crash plus missing documentation and tests.
- Andreas accepted Dean's semantic corrections and reported local fixes awaiting more tests in #12; Dean later pointed to related RLS documentation and testing work in #13.
- Viktor Holmberg offered tests and documentation from his independent implementation in #14, then reported fixing the remaining issues and moving the work to a new thread in #15, leaving this thread without another attached revision or landing announcement.
- The feature subsequently landed on February 12, 2026 as 88327092ff from the later submission #615072 in thread #52401, whose current verdict identifies a matching feature patch with light integration changes; this supersedes the previous attribution to #11, while the commit credits Andreas Karlsson, Marko Tiikkaja, and Viktor Holmberg as authors.