• Simon Riggs's avatar
    Skip searching for subxact locks at commit. · d9fad107
    Simon Riggs authored
    At commit all standby locks are released
    for the top-level transaction, so searching
    for locks for each subtransaction is both
    pointless and costly (N^2) in the presence
    of many AccessExclusiveLocks.
    d9fad107
xact.c 135 KB