Typo in comment to function LockHasWaitersRelation() [master branch]

Started by Dmitry Ivanovover 9 years ago3 messages
#1Dmitry Ivanov
d.ivanov@postgrespro.ru

Hi hackers,

I've found a typo in a comment to function LockHasWaitersRelation() [lmgr.c :
271, master branch]:

This is a functiion to check

--
Dmitry Ivanov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#2Dmitry Ivanov
d.ivanov@postgrespro.ru
In reply to: Dmitry Ivanov (#1)
1 attachment(s)
Re: Typo in comment to function LockHasWaitersRelation() [master branch]

Hi hackers,

I've found a typo in a comment to function LockHasWaitersRelation() [lmgr.c
:
271, master branch]:

This is a functiion to check

Attached a patch.

--
Dmitry Ivanov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company

Attachments:

minor_typo_lmgr_c.patchtext/x-patch; charset=UTF-8; name=minor_typo_lmgr_c.patchDownload
diff --git a/src/backend/storage/lmgr/lmgr.c b/src/backend/storage/lmgr/lmgr.c
index 7b08555..d0fdb94 100644
--- a/src/backend/storage/lmgr/lmgr.c
+++ b/src/backend/storage/lmgr/lmgr.c
@@ -268,7 +268,7 @@ UnlockRelation(Relation relation, LOCKMODE lockmode)
 /*
  *		LockHasWaitersRelation
  *
- * This is a functiion to check if someone else is waiting on a
+ * This is a function to check if someone else is waiting on a
  * lock, we are currently holding.
  */
 bool
#3Robert Haas
robertmhaas@gmail.com
In reply to: Dmitry Ivanov (#2)
Re: Typo in comment to function LockHasWaitersRelation() [master branch]

On Mon, Aug 22, 2016 at 9:01 AM, Dmitry Ivanov <d.ivanov@postgrespro.ru> wrote:

Hi hackers,

I've found a typo in a comment to function LockHasWaitersRelation() [lmgr.c
:
271, master branch]:

This is a functiion to check

Attached a patch.

Thanks. Committed with a bit of additional wordsmithing.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers