aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-12-12 10:52:15 -0500
committerRobert Haas <rhaas@postgresql.org>2017-12-12 10:52:15 -0500
commitd329dc2ea4bfac84ec60ba14b96561a7508bb37b (patch)
treeeee4f100a63769e5c79efc1e4f2ab504a4a4a183 /src
parentc28aa157b86f756d53f2a6b715e23ca56f219b4f (diff)
downloadpostgresql-d329dc2ea4bfac84ec60ba14b96561a7508bb37b.tar.gz
postgresql-d329dc2ea4bfac84ec60ba14b96561a7508bb37b.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/backend/optimizer/path/allpaths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c
index 47986ba80a5..0e8463e4a3a 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);