Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit211f5af

Browse files
committed
Whoops, forgot to do ProcLockWakeup() after deadlock checker
rearranges wait queues.
1 parent8cb2c01 commit211f5af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/backend/storage/lmgr/deadlock.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.1 2001/01/25 03:31:16 tgl Exp $
15+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.2 2001/01/25 03:45:50 tgl Exp $
1616
*
1717
*Interface:
1818
*
@@ -207,6 +207,9 @@ DeadLockCheck(PROC *proc)
207207
#ifdefDEBUG_DEADLOCK
208208
PrintLockQueue(lock,"rearranged to:");
209209
#endif
210+
211+
/* See if any waiters for the lock can be woken up now */
212+
ProcLockWakeup(GetLocksMethodTable(lock),lock);
210213
}
211214
return false;
212215
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp