]> granicus.if.org Git - postgresql/commit
Fix print of Path nodes when using OPTIMIZER_DEBUG
authorMichael Paquier <michael@paquier.xyz>
Thu, 19 Jul 2018 00:55:25 +0000 (09:55 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 19 Jul 2018 00:55:25 +0000 (09:55 +0900)
commit164ed1532f78574a904b4bd080c28105a45e2765
tree80ea278d7bd6f0559439aeac9ffe959cf5317cab
parent75459bc427d1598d72f9663ffa0fb910844d54a9
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
src/backend/optimizer/path/allpaths.c