diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-05-28 23:57:32 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-05-28 23:57:32 -0400 |
commit | b3d9db4617a265a9778915c7085f497ed8a88219 (patch) | |
tree | c73c5a87d600f93763c2e9060aee39947dfa3f9a /src/backend/utils/adt/datetime.c | |
parent | 422022b12050c493a3dc4eb10b55df838e34e6c5 (diff) |
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/utils/adt/datetime.c')
0 files changed, 0 insertions, 0 deletions