Commit 211f5afd authored by Tom Lane's avatar Tom Lane

Whoops, forgot to do ProcLockWakeup() after deadlock checker

rearranges wait queues.
parent 8cb2c013
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.1 2001/01/25 03:31:16 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.2 2001/01/25 03:45:50 tgl Exp $
* *
* Interface: * Interface:
* *
...@@ -207,6 +207,9 @@ DeadLockCheck(PROC *proc) ...@@ -207,6 +207,9 @@ DeadLockCheck(PROC *proc)
#ifdef DEBUG_DEADLOCK #ifdef DEBUG_DEADLOCK
PrintLockQueue(lock, "rearranged to:"); PrintLockQueue(lock, "rearranged to:");
#endif #endif
/* See if any waiters for the lock can be woken up now */
ProcLockWakeup(GetLocksMethodTable(lock), lock);
} }
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment