mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-08 00:49:26 +02:00
node emits only those vars that are actually needed above it in the plan tree. (There were comments in the code suggesting that this was done at some point in the dim past, but for a long time we have just made join nodes emit everything that either input emitted.) Aside from being marginally more efficient, this fixes the problem noted by Peter Eisentraut where a join above an IN-implemented-as-join might fail, because the subplan targetlist constructed in the latter case didn't meet the expectation of including everything. Along the way, fix some places that were O(N^2) in the targetlist length. This is not all the trouble spots for wide queries by any means, but it's a step forward. |
||
---|---|---|
.. | ||
clauses.h | ||
cost.h | ||
geqo_copy.h | ||
geqo_gene.h | ||
geqo_misc.h | ||
geqo_mutation.h | ||
geqo_pool.h | ||
geqo_random.h | ||
geqo_recombination.h | ||
geqo_selection.h | ||
geqo.h | ||
joininfo.h | ||
pathnode.h | ||
paths.h | ||
plancat.h | ||
planmain.h | ||
planner.h | ||
prep.h | ||
restrictinfo.h | ||
subselect.h | ||
tlist.h | ||
var.h |