Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
1de8926b
Commit
1de8926b
authored
Jan 23, 1998
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LOCK_LEVEL is defined in an i386_solaris system file, causing the compile
to break. renaming to PG_LOCK_LEVEL
parent
b34c8ec3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
src/backend/storage/lmgr/multi.c
src/backend/storage/lmgr/multi.c
+5
-5
src/include/storage/multilev.h
src/include/storage/multilev.h
+2
-2
No files found.
src/backend/storage/lmgr/multi.c
View file @
1de8926b
...
...
@@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.1
0 1998/01/07 21:05:35 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Attic/multi.c,v 1.1
1 1998/01/23 19:53:40 scrappy
Exp $
*
* NOTES:
* (1) The lock.c module assumes that the caller here is doing
...
...
@@ -31,10 +31,10 @@
static
bool
MultiAcquire
(
LockTableId
tableId
,
LOCKTAG
*
tag
,
LOCKT
lockt
,
LOCK_LEVEL
level
);
PG_
LOCK_LEVEL
level
);
static
bool
MultiRelease
(
LockTableId
tableId
,
LOCKTAG
*
tag
,
LOCKT
lockt
,
LOCK_LEVEL
level
);
PG_
LOCK_LEVEL
level
);
/*
* INTENT indicates to higher level that a lower level lock has been
...
...
@@ -201,7 +201,7 @@ static bool
MultiAcquire
(
LockTableId
tableId
,
LOCKTAG
*
tag
,
LOCKT
lockt
,
LOCK_LEVEL
level
)
PG_
LOCK_LEVEL
level
)
{
LOCKT
locks
[
N_LEVELS
];
int
i
,
...
...
@@ -361,7 +361,7 @@ static bool
MultiRelease
(
LockTableId
tableId
,
LOCKTAG
*
tag
,
LOCKT
lockt
,
LOCK_LEVEL
level
)
PG_
LOCK_LEVEL
level
)
{
LOCKT
locks
[
N_LEVELS
];
int
i
,
...
...
src/include/storage/multilev.h
View file @
1de8926b
...
...
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: multilev.h,v 1.
5 1997/09/08 02:39:05 momjian
Exp $
* $Id: multilev.h,v 1.
6 1998/01/23 19:53:44 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -39,7 +39,7 @@
#define RELN_LEVEL 0
#define PAGE_LEVEL 1
#define TUPLE_LEVEL 2
typedef
int
LOCK_LEVEL
;
typedef
int
PG_LOCK_LEVEL
;
/* multi.c */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment