]> 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:54:39 +0000 (09:54 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 19 Jul 2018 00:54:39 +0000 (09:54 +0900)
commitb33ef397a1698ddd06f325d0f92a6643ec55577f
treeeefc4bc1dd8be325c39a4742810b1197324c7010
parentc6598b8b0514bcb9b4c99f2412927368a7514180
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