aboutsummaryrefslogtreecommitdiff
path: root/src/backend/partitioning/partprune.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2018-08-27 09:32:59 +1200
committerThomas Munro <tmunro@postgresql.org>2018-08-27 09:34:35 +1200
commit9ca2207990002a2fd594fd7f9776d9d91acba189 (patch)
treefc3841ad70c3ab058f0d3e05cbf4625dddc0363d /src/backend/partitioning/partprune.c
parentf8fc5f5f50dbabec866dee79cd739bb3f68052a1 (diff)
downloadpostgresql-9ca2207990002a2fd594fd7f9776d9d91acba189.tar.gz
postgresql-9ca2207990002a2fd594fd7f9776d9d91acba189.zip
Fix typos.
Author: David Rowley Discussion: https://postgr.es/m/CAKJS1f8du35u5DprpykWvgNEScxapbWYJdHq%2Bz06Wj3Y2KFPbw%40mail.gmail.com
Diffstat (limited to 'src/backend/partitioning/partprune.c')
-rw-r--r--src/backend/partitioning/partprune.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/partitioning/partprune.c b/src/backend/partitioning/partprune.c
index 0dd55ac1ba3..b5c1c7d4dd0 100644
--- a/src/backend/partitioning/partprune.c
+++ b/src/backend/partitioning/partprune.c
@@ -1428,7 +1428,7 @@ gen_prune_steps_from_opexps(PartitionScheme part_scheme,
/*
* For each clause for the "last" column, after appending
* the clause's own expression to the 'prefix', we'll
- * generate one step using the so generated vector and and
+ * generate one step using the so generated vector and
* assign = as its strategy. Actually, 'prefix' might
* contain multiple clauses for the same key, in which
* case, we must generate steps for various combinations
@@ -2828,9 +2828,9 @@ get_matching_range_bounds(PartitionPruneContext *context,
}
/*
- * Skip a gap. See the above comment about how we decide whether or or
- * not to scan the default partition based whether the datum that will
- * become the maximum datum is finite or not.
+ * Skip a gap. See the above comment about how we decide whether or not
+ * to scan the default partition based whether the datum that will become
+ * the maximum datum is finite or not.
*/
if (maxoff >= 1 && partindices[maxoff] < 0)
{