postgresql/src/backend/executor
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
execAmi.c Make DROP TABLE rollback-able: postpone physical file delete until commit. 2000-11-08 22:10:03 +00:00
execFlatten.c
execJunk.c
execMain.c Restructure handling of inheritance queries so that they work with outer 2000-11-12 00:37:02 +00:00
execProcnode.c Re-implement LIMIT/OFFSET as a plan node type, instead of a hack in 2000-10-26 21:38:24 +00:00
execQual.c Restructure handling of inheritance queries so that they work with outer 2000-11-12 00:37:02 +00:00
execScan.c
execTuples.c Restructure handling of inheritance queries so that they work with outer 2000-11-12 00:37:02 +00:00
execUtils.c Restructure handling of inheritance queries so that they work with outer 2000-11-12 00:37:02 +00:00
functions.c Restructure handling of inheritance queries so that they work with outer 2000-11-12 00:37:02 +00:00
Makefile Re-implement LIMIT/OFFSET as a plan node type, instead of a hack in 2000-10-26 21:38:24 +00:00
nodeAgg.c
nodeAppend.c Restructure handling of inheritance queries so that they work with outer 2000-11-12 00:37:02 +00:00
nodeGroup.c
nodeHash.c
nodeHashjoin.c
nodeIndexscan.c
nodeLimit.c Allow ORDER BY, LIMIT in sub-selects. Fix most (not all) cases where 2000-11-05 00:15:54 +00:00
nodeMaterial.c
nodeMergejoin.c
nodeNestloop.c
nodeResult.c
nodeSeqscan.c Restructure handling of inheritance queries so that they work with outer 2000-11-12 00:37:02 +00:00
nodeSetOp.c Reimplementation of UNION/INTERSECT/EXCEPT. INTERSECT/EXCEPT now meet the 2000-10-05 19:11:39 +00:00
nodeSort.c
nodeSubplan.c Reimplementation of UNION/INTERSECT/EXCEPT. INTERSECT/EXCEPT now meet the 2000-10-05 19:11:39 +00:00
nodeSubqueryscan.c Reimplementation of UNION/INTERSECT/EXCEPT. INTERSECT/EXCEPT now meet the 2000-10-05 19:11:39 +00:00
nodeTidscan.c
nodeUnique.c
spi.c Re-implement LIMIT/OFFSET as a plan node type, instead of a hack in 2000-10-26 21:38:24 +00:00