Comment typo in _readExtensibleNode()

Started by Amit Langoteover 9 years ago2 messages
#1Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
1 attachment(s)

Attached fixes a minor typo comment in _readExtensibleNode().

s/skip: extnodename/skip :extnodename/g

I was confused at first as to why there is a skip extnodename on one line
and get extnodename right on the next line as the comments say, :)

Thanks,
Amit

Attachments:

readExtensibleNode-comment-typo.patchtext/x-diff; name=readExtensibleNode-comment-typo.patchDownload
diff --git a/src/backend/nodes/readfuncs.c b/src/backend/nodes/readfuncs.c
index 6f28047..096bdde 100644
--- a/src/backend/nodes/readfuncs.c
+++ b/src/backend/nodes/readfuncs.c
@@ -2230,7 +2230,7 @@ _readExtensibleNode(void)
 	const char	   *extnodename;
 	READ_TEMP_LOCALS();
 
-	token = pg_strtok(&length);		/* skip: extnodename */
+	token = pg_strtok(&length);		/* skip :extnodename */
 	token = pg_strtok(&length);		/* get extnodename */
 
 	extnodename = nullable_string(token, length);
#2Robert Haas
robertmhaas@gmail.com
In reply to: Amit Langote (#1)
Re: Comment typo in _readExtensibleNode()

On Fri, May 6, 2016 at 3:26 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

Attached fixes a minor typo comment in _readExtensibleNode().

s/skip: extnodename/skip :extnodename/g

I was confused at first as to why there is a skip extnodename on one line
and get extnodename right on the next line as the comments say, :)

Thanks, committed.

--
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