Re: MERGE behavior with REPEATABLE READ isolation level
Tender Wang <tndrwang@gmail.com>
From: Tender Wang <tndrwang@gmail.com>
To: Alexander Korotkov <aekorotkov@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Dean Rasheed <dean.a.rasheed@gmail.com>
Date: 2026-02-27T12:54:06Z
Lists: pgsql-hackers
Attachments
- v2-0001-Fix-MERGE-match-do-update-in-RR-isolation-level.patch (text/plain) patch v2-0001
Hi all, Alexander Korotkov <aekorotkov@gmail.com> 于2026年2月27日周五 01:03写道: > Thank you for the confirmation and for the patch. Regarding the test > case, can we handle this without introducing a new .spec file? I > think we can add 1-2 permutations to merge-update.spec. Even existing > step should work, you only need one new which begins transaction in RR > isolation mode. Done Please see the v2 patch. -- Thanks, Tender Wang
Commits
-
Fix handling of updated tuples in the MERGE statement
- f6e63d4b8b2e 16.14 landed
- 8bfaae6fb20c 15.18 landed
- 2dcac93c0065 17.10 landed
- 13fab378e630 18.4 landed
- 177037341a44 19 (unreleased) landed