pgsql: Fix print of Path nodes when using OPTIMIZER_DEBUG

Started by Michael Paquierabout 8 years ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/CAD21AoBQMLoc=ohH-oocuAPsELrmk8_EsRJjOyR8FQLZkbE0wA@mail.gmail.com

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3ecd6c4ab9ddfe22e0c6df0fba412c900614aa23

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