aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-05-28 23:57:06 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-05-28 23:57:06 -0400
commit2755abf386e6572bad15cb6a032e504ad32308cc (patch)
treeca839b9e73921a3d258388ac4b2672b68e60f6d5 /src/backend/access/gist
parentc89bdf769065981e6948c94da8c0b96737bb8462 (diff)
downloadpostgresql-2755abf386e6572bad15cb6a032e504ad32308cc.tar.gz
postgresql-2755abf386e6572bad15cb6a032e504ad32308cc.zip
Teach AbortOutOfAnyTransaction to clean up partially-started transactions.
AbortOutOfAnyTransaction failed to do anything if the state it saw on entry corresponded to failing partway through StartTransaction. I fixed AbortCurrentTransaction to cope with that case way back in commit 60b2444cc3ba037630c9b940c3c9ef01b954b87b, but evidently overlooked that AbortOutOfAnyTransaction should do likewise. Back-patch to all supported branches. It's not clear that this omission has any more-than-cosmetic consequences, but it's also not clear that it doesn't, so back-patching seems the least risky choice.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions