Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
8fa93b01
Commit
8fa93b01
authored
26 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Rename Lockm to Locks.
parent
ae6a6585
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/backend/storage/ipc/ipci.c
+4
-4
4 additions, 4 deletions
src/backend/storage/ipc/ipci.c
src/backend/storage/lmgr/multi.c
+4
-4
4 additions, 4 deletions
src/backend/storage/lmgr/multi.c
src/include/storage/multilev.h
+2
-2
2 additions, 2 deletions
src/include/storage/multilev.h
with
10 additions
and
10 deletions
src/backend/storage/ipc/ipci.c
+
4
−
4
View file @
8fa93b01
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.1
2
1998/06/2
5
1
4:24:34
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.1
3
1998/06/2
6
1
9:57:48
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -92,8 +92,8 @@ CreateSharedMemoryAndSemaphores(IPCKey key)
* ----------------
*/
InitLocks
();
InitMultiLevelLock
m
();
if
(
InitMultiLevelLock
m
()
==
INVALID_TABLEID
)
InitMultiLevelLock
s
();
if
(
InitMultiLevelLock
s
()
==
INVALID_TABLEID
)
elog
(
FATAL
,
"Couldn't create the lock table"
);
/* ----------------
...
...
@@ -146,7 +146,7 @@ AttachSharedMemoryAndSemaphores(IPCKey key)
* ----------------
*/
InitLocks
();
if
(
InitMultiLevelLock
m
()
==
INVALID_TABLEID
)
if
(
InitMultiLevelLock
s
()
==
INVALID_TABLEID
)
elog
(
FATAL
,
"Couldn't attach to the lock table"
);
AttachSharedInvalidationState
(
key
);
...
...
This diff is collapsed.
Click to expand it.
src/backend/storage/lmgr/multi.c
+
4
−
4
View file @
8fa93b01
...
...
@@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.1
5
1998/06/26
0
1:5
8
:4
5
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.1
6
1998/06/26 1
9
:5
7
:4
9
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
InitMultiLevelLock
m
()
InitMultiLevelLock
s
()
{
int
tableId
;
...
...
@@ -99,13 +99,13 @@ InitMultiLevelLockm()
tableId
=
LockTableInit
(
"LockTable"
,
MultiConflicts
,
MultiPrios
,
5
);
MultiTableId
=
tableId
;
if
(
!
(
MultiTableId
))
elog
(
ERROR
,
"InitMultiLock
m
: couldnt initialize lock table"
);
elog
(
ERROR
,
"InitMultiLock
s
: couldnt initialize lock table"
);
/* -----------------------
* No short term lock table for now. -Jeff 15 July 1991
*
* ShortTermTableId = LockTableRename(tableId);
* if (! (ShortTermTableId)) {
* elog(ERROR,"InitMultiLock
m
: couldnt rename lock table");
* elog(ERROR,"InitMultiLock
s
: couldnt rename lock table");
* }
* -----------------------
*/
...
...
This diff is collapsed.
Click to expand it.
src/include/storage/multilev.h
+
2
−
2
View file @
8fa93b01
...
...
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: multilev.h,v 1.
7
1998/0
2
/26
04:43:3
0 momjian Exp $
* $Id: multilev.h,v 1.
8
1998/0
6
/26
19:57:5
0 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -49,7 +49,7 @@ extern LockTableId ShortTermTableId;
/*
* function prototypes
*/
extern
LockTableId
InitMultiLevelLock
m
(
void
);
extern
LockTableId
InitMultiLevelLock
s
(
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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment