pgsql: Fix print of Path nodes when using OPTIMIZER_DEBUG

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix print of Path nodes when using OPTIMIZER_DEBUG
Date: 2018-07-19 00:57:01
Message-ID: E1ffxFd-0000vj-OD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix print of Path nodes when using OPTIMIZER_DEBUG

GatherMergePath (introduced in 10) and CustomPath (introduced in 9.5)
have gone missing. The order of the Path nodes was inconsistent with
what is listed in nodes.h, so make the order consistent at the same time
to ease future checks and additions.

Author: Sawada Masahiko
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/CAD21AoBQMLoc=ohH-oocuAPsELrmk8_EsRJjOyR8FQLZkbE0wA@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bc62aef53d686b282f164277da0f2405a4fd0ac3

Modified Files
--------------
src/backend/optimizer/path/allpaths.c | 31 +++++++++++++++++++------------
1 file changed, 19 insertions(+), 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-07-19 00:59:38 Re: YA race condition in 001_stream_rep.pl (was Re: pgsql: Allow using the updated tuple while moving it to a different par)
Previous Message Michael Paquier 2018-07-19 00:06:25 pgsql: Fix re-parameterize of MergeAppendPath