@@ -39,7 +39,7 @@ static bool restriction_is_constant_false(List *restrictlist,
3939static void populate_joinrel_with_paths (PlannerInfo * root ,RelOptInfo * rel1 ,
4040RelOptInfo * rel2 ,RelOptInfo * joinrel ,
4141SpecialJoinInfo * sjinfo ,List * restrictlist );
42- static void try_partition_wise_join (PlannerInfo * root ,RelOptInfo * rel1 ,
42+ static void try_partitionwise_join (PlannerInfo * root ,RelOptInfo * rel1 ,
4343RelOptInfo * rel2 ,RelOptInfo * joinrel ,
4444SpecialJoinInfo * parent_sjinfo ,
4545List * parent_restrictlist );
@@ -903,8 +903,8 @@ populate_joinrel_with_paths(PlannerInfo *root, RelOptInfo *rel1,
903903break ;
904904}
905905
906- /* Applypartition-wise join technique, if possible. */
907- try_partition_wise_join (root ,rel1 ,rel2 ,joinrel ,sjinfo ,restrictlist );
906+ /* Applypartitionwise 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 bygenerate_partition_wise_join_paths ().
1301+ * This second phase is implemented bygenerate_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 ,
13081308RelOptInfo * joinrel ,SpecialJoinInfo * parent_sjinfo ,
13091309List * parent_restrictlist )
13101310{
@@ -1334,7 +1334,7 @@ try_partition_wise_join(PlannerInfo *root, RelOptInfo *rel1, RelOptInfo *rel2,
13341334joinrel -> part_scheme == rel2 -> part_scheme );
13351335
13361336/*
1337- * Since we allowpartition-wise join only when the partition bounds of
1337+ * Since we allowpartitionwise 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 */
14831483ipk1 = match_expr_to_partition_keys (expr1 ,rel1 ,strict_op );
14841484if (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 forpartition-wise join.
1492+ * not be used forpartitionwise join.
14931493 */
14941494if (ipk1 != ipk2 )
14951495continue ;
14961496
14971497/*
1498- * The clause allowspartition-wise join if only it uses the same
1498+ * The clause allowspartitionwise join if only it uses the same
14991499 * operator family as that specified by the partition key.
15001500 */
15011501if (rel1 -> part_scheme -> strategy == PARTITION_STRATEGY_HASH )