Re: print_path is missing GatherMerge and CustomScan support

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Cc: Robert Haas <robertmhaas@gmail.com>, Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>, Masahiko Sawada <sawada.mshk@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-07-27T07:02:32Z
Lists: pgsql-hackers
On Fri, Jul 27, 2018 at 03:40:48PM +0900, Etsuro Fujita wrote:
> (I think that at least currently, there is no need for the Gather and
> GatherMerge cases in reparameterize_path_by_child, but I don't object to
> keeping those as-is there.)

Let's keep them.  As far as my understanding goes, which is way lower
than any of you by the way, those don't hurt and would automatically
help.
--
Michael

Commits

  1. Fix print of Path nodes when using OPTIMIZER_DEBUG

  2. Fix re-parameterize of MergeAppendPath