• T
    Teach AbortOutOfAnyTransaction to clean up partially-started transactions. · b3d9db46
    Tom Lane 提交于
    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
    60b2444c, 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.
    b3d9db46
xact.c 118.3 KB