]> granicus.if.org Git - postgresql/commit
Only log 'process acquired lock' if we actually did get the lock. This
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Jun 2007 22:01:15 +0000 (22:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Jun 2007 22:01:15 +0000 (22:01 +0000)
commit9cce91dba0de4f00b98f7e12535cc0efd33c69a8
tree0878759128113458f0403bee25d5b8ea52ceef93
parentec4595dae15b85ead2e563760ef99af0cff348ab
Only log 'process acquired lock' if we actually did get the lock.  This
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.
src/backend/storage/lmgr/proc.c