model-writtenrun 1251 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Korotkov reported that MERGE incorrectly performed EvalPlanQual processing after a concurrent update under repeatable read, identifying a missing snapshot-isolation check and correcting his reproducer to include BEGIN ISOLATION LEVEL REPEATABLE READ #1 #2.
- Tender Wang demonstrated that ordinary UPDATE raised a serialization error in the same situation and submitted a matching MERGE check with a standalone isolation test #3.
- Dean Rasheed agreed that the behavior was a bug, likely an oversight in the original MERGE implementation #4.
- Alexander requested reuse of merge-update.spec instead of a separate test file, and Tender supplied a revision retaining the executor fix while adding one repeatable-read step and one permutation to the existing test #5 #6.
- Alexander approved the revised patch and announced his intention to push it if there were no objections, leaving the thread awaiting commit at its last message #7.
- Alexander subsequently committed the revised patch unchanged apart from a blank line, fixing concurrent-update handling under repeatable read and serializable isolation and backpatching through PostgreSQL 15 #6 177037341a.