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
898b3e6f
Commit
898b3e6f
authored
26 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Back out some changes I made just for testing.
parent
9dde6b3d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/backend/storage/ipc/ipci.c
+3
-2
3 additions, 2 deletions
src/backend/storage/ipc/ipci.c
src/backend/storage/lmgr/multi.c
+8
-1
8 additions, 1 deletion
src/backend/storage/lmgr/multi.c
with
11 additions
and
3 deletions
src/backend/storage/ipc/ipci.c
+
3
−
2
View file @
898b3e6f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.1
0
1998/06/23 17:5
2:28
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.1
1
1998/06/23 17:5
9:54
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -92,6 +92,7 @@ CreateSharedMemoryAndSemaphores(IPCKey key)
...
@@ -92,6 +92,7 @@ CreateSharedMemoryAndSemaphores(IPCKey key)
* ----------------
* ----------------
*/
*/
InitLocks
();
InitLocks
();
InitMultiLevelLockm
();
if
(
InitMultiLevelLockm
()
==
INVALID_TABLEID
)
if
(
InitMultiLevelLockm
()
==
INVALID_TABLEID
)
elog
(
FATAL
,
"Couldn't create the lock table"
);
elog
(
FATAL
,
"Couldn't create the lock table"
);
...
@@ -145,7 +146,7 @@ AttachSharedMemoryAndSemaphores(IPCKey key)
...
@@ -145,7 +146,7 @@ AttachSharedMemoryAndSemaphores(IPCKey key)
* ----------------
* ----------------
*/
*/
InitLocks
();
InitLocks
();
if
(
!
MultiTableId
&&
InitMultiLevelLockm
()
==
INVALID_TABLEID
)
if
(
InitMultiLevelLockm
()
==
INVALID_TABLEID
)
elog
(
FATAL
,
"Couldn't attach to the lock table"
);
elog
(
FATAL
,
"Couldn't attach to the lock table"
);
AttachSharedInvalidationState
(
key
);
AttachSharedInvalidationState
(
key
);
...
...
This diff is collapsed.
Click to expand it.
src/backend/storage/lmgr/multi.c
+
8
−
1
View file @
898b3e6f
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.1
3
1998/06/23 17:5
2:28
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.1
4
1998/06/23 17:5
9:54
momjian Exp $
*
*
* NOTES:
* NOTES:
* (1) The lock.c module assumes that the caller here is doing
* (1) The lock.c module assumes that the caller here is doing
...
@@ -89,6 +89,13 @@ InitMultiLevelLockm()
...
@@ -89,6 +89,13 @@ InitMultiLevelLockm()
{
{
int
tableId
;
int
tableId
;
/* -----------------------
* If we're already initialized just return the table id.
* -----------------------
*/
if
(
MultiTableId
)
return
MultiTableId
;
tableId
=
LockTabInit
(
"LockTable"
,
MultiConflicts
,
MultiPrios
,
5
);
tableId
=
LockTabInit
(
"LockTable"
,
MultiConflicts
,
MultiPrios
,
5
);
MultiTableId
=
tableId
;
MultiTableId
=
tableId
;
if
(
!
(
MultiTableId
))
if
(
!
(
MultiTableId
))
...
...
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