postgresql/src/include/optimizer
Tom Lane 52ed730d51 Remove some unnecessary fields from Plan trees.
In the wake of commit f2343653f, we no longer need some fields that
were used before to control executor lock acquisitions:

* PlannedStmt.nonleafResultRelations can go away entirely.

* partitioned_rels can go away from Append, MergeAppend, and ModifyTable.
However, ModifyTable still needs to know the RT index of the partition
root table if any, which was formerly kept in the first entry of that
list.  Add a new field "rootRelation" to remember that.  rootRelation is
partly redundant with nominalRelation, in that if it's set it will have
the same value as nominalRelation.  However, the latter field has a
different purpose so it seems best to keep them distinct.

Amit Langote, reviewed by David Rowley and Jesper Pedersen,
and whacked around a bit more by me

Discussion: https://postgr.es/m/468c85d9-540e-66a2-1dde-fec2b741e688@lab.ntt.co.jp
2018-10-07 14:33:17 -04:00
..
clauses.h Support named and default arguments in CALL 2018-04-14 09:13:53 -04:00
cost.h Post-feature-freeze pgindent run. 2018-04-26 14:47:16 -04:00
geqo.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_copy.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_gene.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_misc.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_mutation.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_pool.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_random.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_recombination.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_selection.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
joininfo.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
orclauses.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
pathnode.h Remove some unnecessary fields from Plan trees. 2018-10-07 14:33:17 -04:00
paths.h Post-feature-freeze pgindent run. 2018-04-26 14:47:16 -04:00
placeholder.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
plancat.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
planmain.h Tweak a couple of planner APIs to save recalculating join relids. 2018-04-20 16:00:47 -04:00
planner.h Don't allow LIMIT/OFFSET clause within sub-selects to be pushed to workers. 2018-09-14 09:36:30 +05:30
predtest.h Improve predtest.c's internal docs, and enhance its functionality a bit. 2018-03-09 16:58:26 -05:00
prep.h Fix improper uses of canonicalize_qual(). 2018-03-11 18:10:42 -04:00
restrictinfo.h Fix incorrect handling of join clauses pushed into parameterized paths. 2018-04-19 15:49:30 -04:00
subselect.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
tlist.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
var.h Update copyright for 2018 2018-01-02 23:30:12 -05:00