• Robert Haas's avatar
    Partially roll back overenthusiastic SSI optimization. · fbc0d077
    Robert Haas authored
    When a regular lock is held, SSI can use that in lieu of a predicate lock
    to detect rw conflicts; but if the regular lock is being taken by a
    subtransaction, we can't assume that it'll commit, so releasing the
    parent transaction's lock in that case is a no-no.
    
    Kevin Grittner
    fbc0d077
predicate.c 134 KB