]> granicus.if.org Git - postgresql/commit
Add code to print information about a detected deadlock cycle. The
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Jan 2003 21:01:45 +0000 (21:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Jan 2003 21:01:45 +0000 (21:01 +0000)
commit227a404cf4badc5b245a17c674658605d8aa9397
treec082d69fe4bd775c83a092ada374f70bbd3db9e5
parent136828c699edd11594c84b363e5d9abb10a5bc8d
Add code to print information about a detected deadlock cycle.  The
printed data is comparable to what you could read in the pg_locks view,
were you fortunate enough to have been looking at it at the right time.
src/backend/storage/lmgr/deadlock.c
src/backend/storage/lmgr/lock.c
src/backend/storage/lmgr/proc.c
src/include/storage/lock.h