Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 752871b

Browse files
committed
Fix typos
David Rowley
1 parent 275c4be commit 752871b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/backend/optimizer/path/allpaths.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ add_paths_to_append_rel(PlannerInfo *root, RelOptInfo *rel,
13531353
build_partitioned_rels = true;
13541354
break;
13551355
default:
1356-
elog(ERROR, "unexpcted rtekind: %d", (int) rte->rtekind);
1356+
elog(ERROR, "unexpected rtekind: %d", (int) rte->rtekind);
13571357
}
13581358
}
13591359
else if (rel->reloptkind == RELOPT_JOINREL && rel->part_scheme)
@@ -3262,10 +3262,10 @@ generate_partition_wise_join_paths(PlannerInfo *root, RelOptInfo *rel)
32623262
return;
32633263

32643264
/*
3265-
* Nothing to do if the relation is not partitioned. An outer join
3266-
* relation which had empty inner relation in every pair will have rest of
3267-
* the partitioning properties set except the child-join RelOptInfos. See
3268-
* try_partition_wise_join() for more explanation.
3265+
* We've nothing to do if the relation is not partitioned. An outer join
3266+
* relation which had an empty inner relation in every pair will have the
3267+
* rest of the partitioning properties set except the child-join
3268+
* RelOptInfos. See try_partition_wise_join() for more details.
32693269
*/
32703270
if (rel->nparts <= 0 || rel->part_rels == NULL)
32713271
return;
@@ -3284,7 +3284,7 @@ generate_partition_wise_join_paths(PlannerInfo *root, RelOptInfo *rel)
32843284
/* Add partition-wise join paths for partitioned child-joins. */
32853285
generate_partition_wise_join_paths(root, child_rel);
32863286

3287-
/* Dummy children will not be scanned, so ingore those. */
3287+
/* Dummy children will not be scanned, so ignore those. */
32883288
if (IS_DUMMY_REL(child_rel))
32893289
continue;
32903290

0 commit comments

Comments
 (0)