Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> That would mean running GetCurrentTransactionId() inside LockAcquire()
> if (lockmode >= AccessExclusiveLock &&
> locktag->locktag_type == LOCKTAG_RELATION &&
> !RecoveryInProgress())
> (void) GetCurrentTransactionId();
> Any objections to that fix?
Could we have a wal level test in there too please? It's pretty awful
in any case...
regards, tom lane