• Tom Lane's avatar
    Improve LockAcquire API per my recent proposal. All error conditions · 140b078d
    Tom Lane authored
    are now reported via elog, eliminating the need to test the result code
    at most call sites.  Make it possible for the caller to distinguish a
    freshly acquired lock from one already held in the current transaction.
    Use that capability to avoid redundant AcceptInvalidationMessages() calls
    in LockRelation().
    140b078d
lmgr.c 13.2 KB