From 211f5afd403a35132a5de46c40a93d2a9faf40cb Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 25 Jan 2001 03:45:50 +0000 Subject: [PATCH] Whoops, forgot to do ProcLockWakeup() after deadlock checker rearranges wait queues. --- src/backend/storage/lmgr/deadlock.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/backend/storage/lmgr/deadlock.c b/src/backend/storage/lmgr/deadlock.c index aae635a6cc..31db44e74b 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.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: * @@ -207,6 +207,9 @@ DeadLockCheck(PROC *proc) #ifdef DEBUG_DEADLOCK PrintLockQueue(lock, "rearranged to:"); #endif + + /* See if any waiters for the lock can be woken up now */ + ProcLockWakeup(GetLocksMethodTable(lock), lock); } return false; } -- 2.40.0