aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2017-04-18 11:57:11 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2017-04-18 11:57:11 +0100
commit123aaffb5b881f3dadaac676877a90b50233a847 (patch)
tree50252a44f0e230665074d02ed9bcdeecc2de19d9 /src
parentee01f7092fb6430ad9bb9bb1f42f19d22bcb9329 (diff)
downloadpostgresql-123aaffb5b881f3dadaac676877a90b50233a847.tar.gz
postgresql-123aaffb5b881f3dadaac676877a90b50233a847.zip
Fix minor typo in comment
Reported-by: Amit Langote
Diffstat (limited to 'src')
-rw-r--r--src/backend/catalog/partition.c2
1 files changed, 1 insertions, 1 deletions
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++;