Skip to content

Commit d329dc2

Browse files
committed
Remove bug from OPTIMIZER_DEBUG code for partition-wise join.
Etsuro Fujita, reviewed by Ashutosh Bapat Discussion: http://postgr.es/m/5A2A60E6.6000008@lab.ntt.co.jp
1 parent c28aa15 commit d329dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/optimizer/path/allpaths.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3457,7 +3457,7 @@ generate_partition_wise_join_paths(PlannerInfo *root, RelOptInfo *rel)
34573457
set_cheapest(child_rel);
34583458

34593459
#ifdef OPTIMIZER_DEBUG
3460-
debug_print_rel(root, rel);
3460+
debug_print_rel(root, child_rel);
34613461
#endif
34623462

34633463
live_children = lappend(live_children, child_rel);

0 commit comments

Comments
 (0)