From 31ba62ce32940146b6c818e9bf30b2555797c43d Mon Sep 17 00:00:00 2001
From: Robert Haas <rhaas@postgresql.org>
Date: Thu, 22 Oct 2015 14:51:49 -0400
Subject: [PATCH] Fix typos in comments.

CharSyam
---
 src/backend/access/transam/multixact.c | 2 +-
 src/backend/access/transam/parallel.c  | 2 +-
 src/backend/executor/nodeGather.c      | 2 +-
 src/backend/parser/parse_utilcmd.c     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/backend/access/transam/multixact.c b/src/backend/access/transam/multixact.c
index 544765c98d8..9571d0760a1 100644
--- a/src/backend/access/transam/multixact.c
+++ b/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 a/src/backend/access/transam/parallel.c b/src/backend/access/transam/parallel.c
index 0085987f324..35a873de6ba 100644
--- a/src/backend/access/transam/parallel.c
+++ b/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 a/src/backend/executor/nodeGather.c b/src/backend/executor/nodeGather.c
index 69df9e301c2..ef810a5834d 100644
--- a/src/backend/executor/nodeGather.c
+++ b/src/backend/executor/nodeGather.c
@@ -193,7 +193,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 a/src/backend/parser/parse_utilcmd.c b/src/backend/parser/parse_utilcmd.c
index 14384d58dbe..344a40cf58e 100644
--- a/src/backend/parser/parse_utilcmd.c
+++ b/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
-- 
GitLab