diff options
Diffstat (limited to 'src/backend/storage/lmgr/deadlock.c')
-rw-r--r-- | src/backend/storage/lmgr/deadlock.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/storage/lmgr/deadlock.c b/src/backend/storage/lmgr/deadlock.c index ca892b2cc0a..8aeef9c36d6 100644 --- a/src/backend/storage/lmgr/deadlock.c +++ b/src/backend/storage/lmgr/deadlock.c @@ -12,7 +12,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.14 2002/10/03 19:17:55 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.15 2002/11/01 00:40:23 tgl Exp $ * * Interface: * @@ -172,6 +172,10 @@ InitDeadLockChecking(void) * only look at regular locks. * * We must have already locked the master lock before being called. + * NOTE: although the lockmethod structure appears to allow each lock + * table to have a different masterLock, all locks that can block had + * better use the same LWLock, else this code will not be adequately + * interlocked! */ bool DeadLockCheck(PGPROC *proc) |