From d329dc2ea4bfac84ec60ba14b96561a7508bb37b Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Tue, 12 Dec 2017 10:52:15 -0500 Subject: [PATCH] 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 --- src/backend/optimizer/path/allpaths.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c index 47986ba80a..0e8463e4a3 100644 --- a/src/backend/optimizer/path/allpaths.c +++ b/src/backend/optimizer/path/allpaths.c @@ -3457,7 +3457,7 @@ generate_partition_wise_join_paths(PlannerInfo *root, RelOptInfo *rel) set_cheapest(child_rel); #ifdef OPTIMIZER_DEBUG - debug_print_rel(root, rel); + debug_print_rel(root, child_rel); #endif live_children = lappend(live_children, child_rel); -- 2.40.0