projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9472d7
)
Improve header comment for LockHasWaitersRelation.
author
Robert Haas
<rhaas@postgresql.org>
Mon, 22 Aug 2016 15:52:43 +0000
(11:52 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Mon, 22 Aug 2016 15:53:20 +0000
(11:53 -0400)
Dimitry Ivanov spotted a typo, and I added a bit of wordsmithing.
src/backend/storage/lmgr/lmgr.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/lmgr/lmgr.c
b/src/backend/storage/lmgr/lmgr.c
index 7b08555b071cc0fe5384604c7e537a2adb2aa994..eeedc38251ac24f3243d82d8258764678d4d0c90 100644
(file)
--- a/
src/backend/storage/lmgr/lmgr.c
+++ b/
src/backend/storage/lmgr/lmgr.c
@@
-268,8
+268,8
@@
UnlockRelation(Relation relation, LOCKMODE lockmode)
/*
* LockHasWaitersRelation
*
- * This is a functi
ion to check if someone else is waiting on
a
- * lock
,
we are currently holding.
+ * This is a functi
on to check whether someone else is waiting for
a
+ * lock
which
we are currently holding.
*/
bool
LockHasWaitersRelation(Relation relation, LOCKMODE lockmode)