diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-08-22 11:52:43 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-08-22 11:53:20 -0400 |
commit | af5743851d7d526fadfeb9726e2b3d8b1fc5026d (patch) | |
tree | 779b2a208de9613e9a89fb3059d6ae99f18a69fe /src | |
parent | f9472d72561d285e8c138f3e1276f3110f55e515 (diff) | |
download | postgresql-af5743851d7d526fadfeb9726e2b3d8b1fc5026d.tar.gz postgresql-af5743851d7d526fadfeb9726e2b3d8b1fc5026d.zip |
Improve header comment for LockHasWaitersRelation.
Dimitry Ivanov spotted a typo, and I added a bit of wordsmithing.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/storage/lmgr/lmgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/lmgr/lmgr.c b/src/backend/storage/lmgr/lmgr.c index 7b08555b071..eeedc38251a 100644 --- 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) |