From 123aaffb5b881f3dadaac676877a90b50233a847 Mon Sep 17 00:00:00 2001
From: Simon Riggs <simon@2ndQuadrant.com>
Date: Tue, 18 Apr 2017 11:57:11 +0100
Subject: [PATCH] Fix minor typo in comment

Reported-by: Amit Langote
---
 src/backend/catalog/partition.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/catalog/partition.c b/src/backend/catalog/partition.c
index ab891f6ef20..e0d2665a91b 100644
--- a/src/backend/catalog/partition.c
+++ b/src/backend/catalog/partition.c
@@ -549,7 +549,7 @@ RelationBuildPartitionDesc(Relation rel)
 						{
 							int			orig_index = rbounds[i]->index;
 
-							/* If the old index is has no mapping, assign one */
+							/* If the old index has no mapping, assign one */
 							if (mapping[orig_index] == -1)
 								mapping[orig_index] = next_index++;
 
-- 
GitLab