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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy