Improve handling of CustomPath/CustomPlan(State) children.
authorRobert Haas <rhaas@postgresql.org>
Fri, 26 Jun 2015 13:40:47 +0000 (09:40 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 26 Jun 2015 13:40:47 +0000 (09:40 -0400)
commit5ca611841bcd37c7ee8448c46c8398ef8d8edcc4
tree492d1f96b9f0b3a25e321f6d58cba98b0a95bfd2
parent4b8e24b9ad308c30dbe2184e06848e638e018114
Improve handling of CustomPath/CustomPlan(State) children.

Allow CustomPath to have a list of paths, CustomPlan a list of plans,
and CustomPlanState a list of planstates known to the core system, so
that custom path/plan providers can more reasonably use this
infrastructure for nodes with multiple children.

KaiGai Kohei, per a design suggestion from Tom Lane, with some
further kibitzing by me.
doc/src/sgml/custom-scan.sgml
src/backend/commands/explain.c
src/backend/optimizer/plan/createplan.c
src/backend/optimizer/plan/setrefs.c
src/backend/optimizer/plan/subselect.c
src/include/nodes/execnodes.h
src/include/nodes/plannodes.h
src/include/nodes/relation.h