Incorrect debug info printed in generate_partition_wise_join_paths - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Incorrect debug info printed in generate_partition_wise_join_paths
Date
Msg-id 5A2A60E6.6000008@lab.ntt.co.jp
Whole thread Raw
Responses Re: Incorrect debug info printed in generate_partition_wise_join_paths
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: [HACKERS] postgres_fdw bug in 9.6
Next
From: Amit Kapila
Date:
Subject: Re: [HACKERS] parallel.c oblivion of worker-startup failures