test(nix): MERGE serialization fix with an isolation spec#2195
Draft
utkarash2991 wants to merge 1 commit into
Draft
test(nix): MERGE serialization fix with an isolation spec#2195utkarash2991 wants to merge 1 commit into
utkarash2991 wants to merge 1 commit into
Conversation
MERGE must raise serialization failure (40001) under REPEATABLE READ when its target row was updated+committed concurrently (upstream fix, PG 15.16/17.8). The expected output reflects the fixed behaviour, so this spec fails on pre-fix 15.14/17.6 and passes on 15.18/17.10. Ref: PSQL-1277
PostgreSQL Extension Dependency Analysis: PR #2195
SummaryNo extensions had dependencies with MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Extension DependenciesPostgreSQL 17 Extension DependenciesOrioleDB 17 Extension Dependencies |
PostgreSQL Package Dependency Analysis: PR #2195
SummaryNo packages had MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Dependency ChangesExtracting PostgreSQL 15 dependencies...
Runtime Closure Size
Raw Dependency ClosurePostgreSQL 17 Dependency ChangesExtracting PostgreSQL 17 dependencies...
Runtime Closure Size
Raw Dependency Closure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a MERGE serialization isolation spec on top of the
pg_isolation_regressharness (#2189).The spec pins the upstream fix (PG 15.16 / 17.8):
MERGEmust raise a serialization failure (40001) underREPEATABLE READwhen its target row was updated and committed by a concurrent transaction after the MERGE's snapshot. Pre-fix, MERGE silently skipped this concurrent-update check.Verified locally:
s1_mergeraisesERROR: could not serialize access due to concurrent update→ spec passes.Ref: PSQL-1277