Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit af57438

Browse files
committed
Improve header comment for LockHasWaitersRelation.
Dimitry Ivanov spotted a typo, and I added a bit of wordsmithing.
1 parent f9472d7 commit af57438

File tree

1 file changed

+2
-2
lines changed
  • src/backend/storage/lmgr

1 file changed

+2
-2
lines changed

src/backend/storage/lmgr/lmgr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ UnlockRelation(Relation relation, LOCKMODE lockmode)
268268
/*
269269
* LockHasWaitersRelation
270270
*
271-
* This is a functiion to check if someone else is waiting on a
272-
* lock, we are currently holding.
271+
* This is a function to check whether someone else is waiting for a
272+
* lock which we are currently holding.
273273
*/
274274
bool
275275
LockHasWaitersRelation(Relation relation, LOCKMODE lockmode)

0 commit comments

Comments
 (0)