diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-06-21 14:32:11 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-06-21 15:02:32 +0300 |
commit | 390c52131b7a42d7b5528d0435d7f6279bdf0ed0 (patch) | |
tree | eba33c3895ba9445e44a69f43ccbef2dba56aa3f /src/backend/access/gist/gist.c | |
parent | 0d905db20b3201bec3ea69951014b473f92223c7 (diff) | |
download | postgresql-390c52131b7a42d7b5528d0435d7f6279bdf0ed0.tar.gz postgresql-390c52131b7a42d7b5528d0435d7f6279bdf0ed0.zip |
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
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions