Add code to print information about a detected deadlock cycle. The
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/lmgr/deadlock.c | modified | +149 −8 |
| src/backend/storage/lmgr/lock.c | modified | +8 −1 |
| src/backend/storage/lmgr/proc.c | modified | +3 −2 |
| src/include/storage/lock.h | modified | +6 −1 |