git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f9472d7)
Improve header comment for LockHasWaitersRelation.
2016年8月22日 15:52:43 +0000 (11:52 -0400)
2016年8月22日 15:53:20 +0000 (11:53 -0400)
Dimitry Ivanov spotted a typo, and I added a bit of wordsmithing.


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 functiion to check if someone else is waiting on a
- * lock, we are currently holding.
+ * This is a function to check whether someone else is waiting for a
+ * lock which we are currently holding.
*/
bool
LockHasWaitersRelation(Relation relation, LOCKMODE lockmode)
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /