*
*
* 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 $
*
*-------------------------------------------------------------------------
*/
* ----------------
*/
InitLocks();
- InitMultiLevelLockm();
- if (InitMultiLevelLockm() == INVALID_TABLEID)
+ InitMultiLevelLocks();
+ if (InitMultiLevelLocks() == INVALID_TABLEID)
elog(FATAL, "Couldn't create the lock table");
/* ----------------
* ----------------
*/
InitLocks();
- if (InitMultiLevelLockm() == INVALID_TABLEID)
+ if (InitMultiLevelLocks() == INVALID_TABLEID)
elog(FATAL, "Couldn't attach to the lock table");
AttachSharedInvalidationState(key);
*
*
* 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
* Create the lock table described by MultiConflicts and Multiprio.
*/
LockTableId
-InitMultiLevelLockm()
+InitMultiLevelLocks()
{
int tableId;
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");
* }
* -----------------------
*/
*
* 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 $
*
*-------------------------------------------------------------------------
*/
/*
* 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);