- Downloads
Fix bug in PreCommit_CheckForSerializationFailure. A transaction that has
already been marked as PREPARED cannot be killed. Kill the current transaction instead. One of the prepared_xacts regression tests actually hits this bug. I removed the anomaly from the duplicate-gids test so that it fails in the intended way, and added a new test to check serialization failures with a prepared transaction. Dan Ports
Showing
- src/backend/storage/lmgr/predicate.c 15 additions, 0 deletionssrc/backend/storage/lmgr/predicate.c
- src/test/regress/expected/prepared_xacts.out 41 additions, 6 deletionssrc/test/regress/expected/prepared_xacts.out
- src/test/regress/sql/prepared_xacts.sql 21 additions, 1 deletionsrc/test/regress/sql/prepared_xacts.sql
Loading
Please register or sign in to comment