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 14:49:50 +0300 |
commit | 1eea8e8a06bc718836c34b8f7da9420b38fc4851 (patch) | |
tree | 90d68b04494e2aec0330ca731062cdd15cbfe4a4 /src/backend/access/gist/gistvacuum.c | |
parent | 7cb2ff9621a6129cc251f9d06bf23d3f9d426173 (diff) | |
download | postgresql-1eea8e8a06bc718836c34b8f7da9420b38fc4851.tar.gz postgresql-1eea8e8a06bc718836c34b8f7da9420b38fc4851.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/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions