]> granicus.if.org Git - postgresql/commitdiff
Rename Lockm to Locks.
authorBruce Momjian <bruce@momjian.us>
Fri, 26 Jun 1998 19:57:50 +0000 (19:57 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 26 Jun 1998 19:57:50 +0000 (19:57 +0000)
src/backend/storage/ipc/ipci.c
src/backend/storage/lmgr/multi.c
src/include/storage/multilev.h

index 4f1bb5c4879d9f668e9cba11edd2f31257cc64ce..e8aabe5a74fb3e6744c6777fe11bd8708a117548 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.12 1998/06/25 14:24:34 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.13 1998/06/26 19:57:48 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -92,8 +92,8 @@ CreateSharedMemoryAndSemaphores(IPCKey key)
         * ----------------
         */
        InitLocks();
-       InitMultiLevelLockm();
-       if (InitMultiLevelLockm() == INVALID_TABLEID)
+       InitMultiLevelLocks();
+       if (InitMultiLevelLocks() == INVALID_TABLEID)
                elog(FATAL, "Couldn't create the lock table");
 
        /* ----------------
@@ -146,7 +146,7 @@ AttachSharedMemoryAndSemaphores(IPCKey key)
         * ----------------
         */
        InitLocks();
-       if (InitMultiLevelLockm() == INVALID_TABLEID)
+       if (InitMultiLevelLocks() == INVALID_TABLEID)
                elog(FATAL, "Couldn't attach to the lock table");
 
        AttachSharedInvalidationState(key);
index 0dc19798118076ee719c13e79b59589ecdfa71b7..135996432a9c9f3f583eec09b6798953ae894cfa 100644 (file)
@@ -12,7 +12,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.15 1998/06/26 01:58:45 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.16 1998/06/26 19:57:49 momjian Exp $
  *
  * NOTES:
  *      (1) The lock.c module assumes that the caller here is doing
@@ -85,7 +85,7 @@ LockTableId ShortTermTableId = (LockTableId) NULL;
  * Create the lock table described by MultiConflicts and Multiprio.
  */
 LockTableId
-InitMultiLevelLockm()
+InitMultiLevelLocks()
 {
        int                     tableId;
 
@@ -99,13 +99,13 @@ InitMultiLevelLockm()
        tableId = LockTableInit("LockTable", MultiConflicts, MultiPrios, 5);
        MultiTableId = tableId;
        if (!(MultiTableId))
-               elog(ERROR, "InitMultiLockm: couldnt initialize lock table");
+               elog(ERROR, "InitMultiLocks: couldnt initialize lock table");
        /* -----------------------
         * No short term lock table for now.  -Jeff 15 July 1991
         *
         * ShortTermTableId = LockTableRename(tableId);
         * if (! (ShortTermTableId)) {
-        *       elog(ERROR,"InitMultiLockm: couldnt rename lock table");
+        *       elog(ERROR,"InitMultiLocks: couldnt rename lock table");
         * }
         * -----------------------
         */
index 92a47e479f004cff331f5d57bce0ca515b70de75..df2d8b3c36ead5dda8bc696ad8ce44711a664ccb 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: multilev.h,v 1.7 1998/02/26 04:43:30 momjian Exp $
+ * $Id: multilev.h,v 1.8 1998/06/26 19:57:50 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -49,7 +49,7 @@ extern LockTableId ShortTermTableId;
 /*
  * function prototypes
  */
-extern LockTableId InitMultiLevelLockm(void);
+extern LockTableId InitMultiLevelLocks(void);
 extern bool MultiLockReln(LockInfo linfo, LOCKT lockt);
 extern bool MultiLockTuple(LockInfo linfo, ItemPointer tidPtr, LOCKT lockt);
 extern bool MultiLockPage(LockInfo linfo, ItemPointer tidPtr, LOCKT lockt);