postgresql/src/include/optimizer
Tom Lane 6543d81d65 Restructure handling of inheritance queries so that they work with outer
joins, and clean things up a good deal at the same time.  Append plan node
no longer hacks on rangetable at runtime --- instead, all child tables are
given their own RT entries during planning.  Concept of multiple target
tables pushed up into execMain, replacing bug-prone implementation within
nodeAppend.  Planner now supports generating Append plans for inheritance
sets either at the top of the plan (the old way) or at the bottom.  Expanding
at the bottom is appropriate for tables used as sources, since they may
appear inside an outer join; but we must still expand at the top when the
target of an UPDATE or DELETE is an inheritance set, because we actually need
a different targetlist and junkfilter for each target table in that case.
Fortunately a target table can't be inside an outer join...  Bizarre mutual
recursion between union_planner and prepunion.c is gone --- in fact,
union_planner doesn't really have much to do with union queries anymore,
so I renamed it grouping_planner.
2000-11-12 00:37:02 +00:00
..
_deadcode Add: 2000-01-26 05:58:53 +00:00
clauses.h Reimplementation of UNION/INTERSECT/EXCEPT. INTERSECT/EXCEPT now meet the 2000-10-05 19:11:39 +00:00
cost.h Add proofreader's changes to docs. 2000-10-05 19:48:34 +00:00
geqo.h Fix GEQO optimizer to work correctly with new outer-join-capable 2000-09-19 18:42:34 +00:00
geqo_copy.h Add: 2000-01-26 05:58:53 +00:00
geqo_gene.h Add: 2000-01-26 05:58:53 +00:00
geqo_misc.h Add: 2000-01-26 05:58:53 +00:00
geqo_mutation.h Add: 2000-01-26 05:58:53 +00:00
geqo_pool.h Fix GEQO optimizer to work correctly with new outer-join-capable 2000-09-19 18:42:34 +00:00
geqo_random.h Clean up bogosities in use of random(3) and srandom(3) --- do not assume 2000-08-07 00:51:42 +00:00
geqo_recombination.h Add: 2000-01-26 05:58:53 +00:00
geqo_selection.h Add: 2000-01-26 05:58:53 +00:00
joininfo.h Mark functions as static and ifdef NOT_USED as appropriate. 2000-06-08 22:38:00 +00:00
pathnode.h Restructure handling of inheritance queries so that they work with outer 2000-11-12 00:37:02 +00:00
paths.h Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias. 2000-09-29 18:21:41 +00:00
plancat.h Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias. 2000-09-29 18:21:41 +00:00
planmain.h Restructure handling of inheritance queries so that they work with outer 2000-11-12 00:37:02 +00:00
planner.h Restructure handling of inheritance queries so that they work with outer 2000-11-12 00:37:02 +00:00
prep.h Restructure handling of inheritance queries so that they work with outer 2000-11-12 00:37:02 +00:00
restrictinfo.h First cut at full support for OUTER JOINs. There are still a few loose 2000-09-12 21:07:18 +00:00
subselect.h Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
tlist.h Mark functions as static and ifdef NOT_USED as appropriate. 2000-06-08 22:38:00 +00:00
var.h Add: 2000-01-26 05:58:53 +00:00