[PATCH] Typos in comments

Started by CharSyamabout 10 years ago3 messages
#1CharSyam
charsyam@gmail.com
1 attachment(s)

I fixed some typos in posgres.
They are all in comments. :)

Thanks

Attachments:

PATCH.typosapplication/octet-stream; name=PATCH.typosDownload
diff --git src/backend/access/transam/multixact.c src/backend/access/transam/multixact.c
index 544765c..9571d07 100644
--- src/backend/access/transam/multixact.c
+++ src/backend/access/transam/multixact.c
@@ -1126,7 +1126,7 @@ GetNewMultiXactId(int nmembers, MultiXactOffset *offset)
 		/*
 		 * To avoid swamping the postmaster with signals, we issue the autovac
 		 * request only when crossing a segment boundary. With default
-		 * compilation settings that's rougly after 50k members.  This still
+		 * compilation settings that's roughly after 50k members.  This still
 		 * gives plenty of chances before we get into real trouble.
 		 */
 		if ((MXOffsetToMemberPage(nextOffset) / SLRU_PAGES_PER_SEGMENT) !=
diff --git src/backend/access/transam/parallel.c src/backend/access/transam/parallel.c
index 0085987..35a873d 100644
--- src/backend/access/transam/parallel.c
+++ src/backend/access/transam/parallel.c
@@ -775,7 +775,7 @@ HandleParallelMessage(ParallelContext *pcxt, int i, StringInfo msg)
 				errctx.previous = pcxt->error_context_stack;
 				error_context_stack = &errctx;
 
-				/* Parse ErrorReponse or NoticeResponse. */
+				/* Parse ErrorResponse or NoticeResponse. */
 				pq_parse_errornotice(msg, &edata);
 
 				/* Death of a worker isn't enough justification for suicide. */
diff --git src/backend/executor/nodeGather.c src/backend/executor/nodeGather.c
index 7e2272f..02c3858 100644
--- src/backend/executor/nodeGather.c
+++ src/backend/executor/nodeGather.c
@@ -179,7 +179,7 @@ ExecEndGather(GatherState *node)
  * gather_getnext
  *
  * Get the next tuple from shared memory queue.  This function
- * is reponsible for fetching tuples from all the queues associated
+ * is responsible for fetching tuples from all the queues associated
  * with worker backends used in Gather node execution and if there is
  * no data available from queues or no worker is available, it does
  * fetch the data from local node.
diff --git src/backend/parser/parse_utilcmd.c src/backend/parser/parse_utilcmd.c
index 14384d5..344a40c 100644
--- src/backend/parser/parse_utilcmd.c
+++ src/backend/parser/parse_utilcmd.c
@@ -282,7 +282,7 @@ transformCreateStmt(CreateStmt *stmt, const char *queryString)
 	if (like_found)
 	{
 		/*
-		 * To match INHERITS, the existance of any LIKE table with OIDs
+		 * To match INHERITS, the existence of any LIKE table with OIDs
 		 * causes the new table to have oids.  For the same reason,
 		 * WITH/WITHOUT OIDs is also ignored with LIKE.  We prepend
 		 * because the first oid option list entry is honored.  Our
#2Jim Nasby
Jim.Nasby@BlueTreble.com
In reply to: CharSyam (#1)
Re: [PATCH] Typos in comments

On 10/20/15 11:08 AM, CharSyam wrote:

I fixed some typos in posgres.
They are all in comments. :)

These all look good to me. RFC.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com

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

#3Robert Haas
robertmhaas@gmail.com
In reply to: Jim Nasby (#2)
Re: [PATCH] Typos in comments

On Tue, Oct 20, 2015 at 6:29 PM, Jim Nasby <Jim.Nasby@bluetreble.com> wrote:

On 10/20/15 11:08 AM, CharSyam wrote:

I fixed some typos in posgres.
They are all in comments. :)

These all look good to me. RFC.

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