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
643dfb78
Commit
643dfb78
authored
Nov 01, 2002
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some bogus comments.
parent
966a4ca9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
src/backend/storage/lmgr/deadlock.c
src/backend/storage/lmgr/deadlock.c
+5
-1
src/backend/storage/lmgr/lock.c
src/backend/storage/lmgr/lock.c
+2
-2
No files found.
src/backend/storage/lmgr/deadlock.c
View file @
643dfb78
...
...
@@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.1
4 2002/10/03 19:17:55
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.1
5 2002/11/01 00:40:23
tgl Exp $
*
* Interface:
*
...
...
@@ -172,6 +172,10 @@ InitDeadLockChecking(void)
* only look at regular locks.
*
* We must have already locked the master lock before being called.
* NOTE: although the lockmethod structure appears to allow each lock
* table to have a different masterLock, all locks that can block had
* better use the same LWLock, else this code will not be adequately
* interlocked!
*/
bool
DeadLockCheck
(
PGPROC
*
proc
)
...
...
src/backend/storage/lmgr/lock.c
View file @
643dfb78
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.11
7 2002/10/31 21:34:16
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/lock.c,v 1.11
8 2002/11/01 00:40:23
tgl Exp $
*
* NOTES
* Outside modules can create a lock table and acquire/release
...
...
@@ -255,7 +255,7 @@ LockMethodTableInit(char *tabName,
/* This is just temp space in this routine, so palloc is OK. */
shmemName
=
(
char
*
)
palloc
(
strlen
(
tabName
)
+
32
);
/* each lock table has a
non-shared, permanent header
*/
/* each lock table has a
header in shared memory
*/
sprintf
(
shmemName
,
"%s (lock method table)"
,
tabName
);
lockMethodTable
=
(
LOCKMETHODTABLE
*
)
ShmemInitStruct
(
shmemName
,
sizeof
(
LOCKMETHODTABLE
),
&
found
);
...
...
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