• Tom Lane's avatar
    Fix relcache to account properly for subtransaction status of 'new' · 1c72d0de
    Tom Lane authored
    relcache entries.  Also, change TransactionIdIsCurrentTransactionId()
    so that if consulted during transaction abort, it will not say that
    the aborted xact is still current.  (It would be better to ensure that
    it's never called at all during abort, but I'm not sure we can easily
    guarantee that.)  In combination, these fix a crash we have seen
    occasionally during parallel regression tests of 8.0.
    1c72d0de
xact.c 91.4 KB