1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-12 16:21:30 +03:00

Improve header comment for LockHasWaitersRelation.

Dimitry Ivanov spotted a typo, and I added a bit of wordsmithing.
This commit is contained in:
Robert Haas 2016-08-22 11:52:43 -04:00
parent f9472d7256
commit af5743851d

View File

@ -268,8 +268,8 @@ UnlockRelation(Relation relation, LOCKMODE lockmode)
/* /*
* LockHasWaitersRelation * LockHasWaitersRelation
* *
* This is a functiion to check if someone else is waiting on a * This is a function to check whether someone else is waiting for a
* lock, we are currently holding. * lock which we are currently holding.
*/ */
bool bool
LockHasWaitersRelation(Relation relation, LOCKMODE lockmode) LockHasWaitersRelation(Relation relation, LOCKMODE lockmode)