]> granicus.if.org Git - postgresql/commitdiff
Assign priorities when creating jobs in lock queue.
authorBruce Momjian <bruce@momjian.us>
Tue, 11 Feb 1997 23:05:38 +0000 (23:05 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 11 Feb 1997 23:05:38 +0000 (23:05 +0000)
src/backend/storage/lmgr/proc.c

index 37466ba39e2c9ac27c2008b1155ea33bac48c149..a9b578b3535126ee8f79121b67aef79d93b79582 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.13 1997/01/08 08:32:17 bryanh Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.14 1997/02/11 23:05:38 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -46,7 +46,7 @@
  *      This is so that we can support more backends. (system-wide semaphore
  *      sets run out pretty fast.)                -ay 4/95
  *
- * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.13 1997/01/08 08:32:17 bryanh Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.14 1997/02/11 23:05:38 momjian Exp $
  */
 #include <sys/time.h>
 #ifndef WIN32
@@ -469,6 +469,7 @@ ProcSleep(PROC_QUEUE *queue,
                break;
        }
     
+    MyProc->proc = proc;
     MyProc->token = token;
     MyProc->waitLock = lock;