• Tom Lane's avatar
    Only log 'process acquired lock' if we actually did get the lock. This · 9cce91db
    Tom Lane authored
    test seems inessential right now since the only control path for not
    getting the lock is via CHECK_FOR_INTERRUPTS which won't return control
    to ProcSleep, but it would be important if we ever allow the deadlock
    code to kill someone else's transaction instead of our own.
    9cce91db
proc.c 41.2 KB