]> 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:32 +0000 (09:55 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 19 Jul 2018 00:55:32 +0000 (09:55 +0900)
commit3ecd6c4ab9ddfe22e0c6df0fba412c900614aa23
tree8c24f8d8f43b1e72d0b817271cb42c225f987b53
parenta9793e07351eb47c926a9e885956bf2d10da66dd
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