Skip to content

Commit d5a3f52

Browse files
committed
Assign priorities when creating jobs in lock queue.
1 parent 4331b16 commit d5a3f52

File tree

1 file changed

+3
-2
lines changed
  • src/backend/storage/lmgr

1 file changed

+3
-2
lines changed

src/backend/storage/lmgr/proc.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.13 1997/01/08 08:32:17 bryanh Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.14 1997/02/11 23:05:38 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -46,7 +46,7 @@
4646
* This is so that we can support more backends. (system-wide semaphore
4747
* sets run out pretty fast.) -ay 4/95
4848
*
49-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.13 1997/01/08 08:32:17 bryanh Exp $
49+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.14 1997/02/11 23:05:38 momjian Exp $
5050
*/
5151
#include <sys/time.h>
5252
#ifndef WIN32
@@ -469,6 +469,7 @@ ProcSleep(PROC_QUEUE *queue,
469469
break;
470470
}
471471

472+
MyProc->proc = proc;
472473
MyProc->token = token;
473474
MyProc->waitLock = lock;
474475

0 commit comments

Comments
 (0)