@@ -39,7 +39,7 @@ static bool restriction_is_constant_false(List *restrictlist,
3939static void populate_joinrel_with_paths (PlannerInfo * root , RelOptInfo * rel1 ,
4040 RelOptInfo * rel2 , RelOptInfo * joinrel ,
4141 SpecialJoinInfo * sjinfo , List * restrictlist );
42- static void try_partition_wise_join (PlannerInfo * root , RelOptInfo * rel1 ,
42+ static void try_partitionwise_join (PlannerInfo * root , RelOptInfo * rel1 ,
4343 RelOptInfo * rel2 , RelOptInfo * joinrel ,
4444 SpecialJoinInfo * parent_sjinfo ,
4545 List * parent_restrictlist );
@@ -903,8 +903,8 @@ populate_joinrel_with_paths(PlannerInfo *root, RelOptInfo *rel1,
903903 break ;
904904 }
905905
906- /* Apply partition-wise join technique, if possible. */
907- try_partition_wise_join (root , rel1 , rel2 , joinrel , sjinfo , restrictlist );
906+ /* Apply partitionwise join technique, if possible. */
907+ try_partitionwise_join (root , rel1 , rel2 , joinrel , sjinfo , restrictlist );
908908}
909909
910910
@@ -1286,25 +1286,25 @@ restriction_is_constant_false(List *restrictlist, bool only_pushed_down)
12861286/*
12871287 * Assess whether join between given two partitioned relations can be broken
12881288 * down into joins between matching partitions; a technique called
1289- * "partition-wise join"
1289+ * "partitionwise join"
12901290 *
1291- * Partition-wise join is possible when a. Joining relations have same
1291+ * Partitionwise join is possible when a. Joining relations have same
12921292 * partitioning scheme b. There exists an equi-join between the partition keys
12931293 * of the two relations.
12941294 *
1295- * Partition-wise join is planned as follows (details: optimizer/README.)
1295+ * Partitionwise join is planned as follows (details: optimizer/README.)
12961296 *
12971297 * 1. Create the RelOptInfos for joins between matching partitions i.e
12981298 * child-joins and add paths to them.
12991299 *
13001300 * 2. Construct Append or MergeAppend paths across the set of child joins.
1301- * This second phase is implemented by generate_partition_wise_join_paths ().
1301+ * This second phase is implemented by generate_partitionwise_join_paths ().
13021302 *
13031303 * The RelOptInfo, SpecialJoinInfo and restrictlist for each child join are
13041304 * obtained by translating the respective parent join structures.
13051305 */
13061306static void
1307- try_partition_wise_join (PlannerInfo * root , RelOptInfo * rel1 , RelOptInfo * rel2 ,
1307+ try_partitionwise_join (PlannerInfo * root , RelOptInfo * rel1 , RelOptInfo * rel2 ,
13081308 RelOptInfo * joinrel , SpecialJoinInfo * parent_sjinfo ,
13091309 List * parent_restrictlist )
13101310{
@@ -1334,7 +1334,7 @@ try_partition_wise_join(PlannerInfo *root, RelOptInfo *rel1, RelOptInfo *rel2,
13341334 joinrel -> part_scheme == rel2 -> part_scheme );
13351335
13361336 /*
1337- * Since we allow partition-wise join only when the partition bounds of
1337+ * Since we allow partitionwise join only when the partition bounds of
13381338 * the joining relations exactly match, the partition bounds of the join
13391339 * should match those of the joining relations.
13401340 */
@@ -1478,7 +1478,7 @@ have_partkey_equi_join(RelOptInfo *rel1, RelOptInfo *rel2, JoinType jointype,
14781478
14791479 /*
14801480 * Only clauses referencing the partition keys are useful for
1481- * partition-wise join.
1481+ * partitionwise join.
14821482 */
14831483 ipk1 = match_expr_to_partition_keys (expr1 , rel1 , strict_op );
14841484 if (ipk1 < 0 )
@@ -1489,13 +1489,13 @@ have_partkey_equi_join(RelOptInfo *rel1, RelOptInfo *rel2, JoinType jointype,
14891489
14901490 /*
14911491 * If the clause refers to keys at different ordinal positions, it can
1492- * not be used for partition-wise join.
1492+ * not be used for partitionwise join.
14931493 */
14941494 if (ipk1 != ipk2 )
14951495 continue ;
14961496
14971497 /*
1498- * The clause allows partition-wise join if only it uses the same
1498+ * The clause allows partitionwise join if only it uses the same
14991499 * operator family as that specified by the partition key.
15001500 */
15011501 if (rel1 -> part_scheme -> strategy == PARTITION_STRATEGY_HASH )
0 commit comments