Incorrect debug info printed in generate_partition_wise_join_paths
Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
From: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
To: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2017-12-08T09:52:38Z
Lists: pgsql-hackers
Attachments
- optimizer-debug.patch (text/x-diff) patch
generate_partition_wise_join_paths prints debug info, if OPTIMIZER_DEBUG, using debug_print_rel at the end of each iteration for collecting non-dummy child-joins, but I noticed that we pass to that function the parent's RelOptInfo, not such a child-join's RelOptInfo. I don't think it's intentional, so here is a patch for fixing that. Best regards, Etsuro Fujita
Commits
-
Remove bug from OPTIMIZER_DEBUG code for partition-wise join.
- d329dc2ea4bf 11.0 landed