]> 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:02 +0000 (09:55 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 19 Jul 2018 00:55:02 +0000 (09:55 +0900)
commitbc62aef53d686b282f164277da0f2405a4fd0ac3
tree35185d1e0e3f12cd30032d259037d3d6cc6cff72
parent6365ebacdd08f988cd31572c7190c8f08194bf5d
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