Обсуждение: pgsql: Fix print of Path nodes when using OPTIMIZER_DEBUG

Поиск
Список
Период
Сортировка

pgsql: Fix print of Path nodes when using OPTIMIZER_DEBUG

От
Michael Paquier
Дата:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b33ef397a1698ddd06f325d0f92a6643ec55577f

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