postgresql/src/include/optimizer
Tom Lane 056467ec6b Teach planner how to propagate pathkeys from sub-SELECTs in FROM up to
the outer query.  (The implementation is a bit klugy, but it would take
nontrivial restructuring to make it nicer, which this is probably not
worth.)  This avoids unnecessary sort steps in examples like
SELECT foo,count(*) FROM (SELECT ... ORDER BY foo,bar) sub GROUP BY foo
which means there is now a reasonable technique for controlling the
order of inputs to custom aggregates, even in the grouping case.
2003-02-15 20:12:41 +00:00
..
clauses.h Minor code cleanup: remove no-longer-useful pull_subplans() function, 2003-02-04 00:50:01 +00:00
cost.h Extend join-selectivity API (oprjoin interface) so that join type is 2003-01-28 22:13:41 +00:00
geqo.h Fix GEQO to work again in CVS tip, by being more careful about memory 2002-12-16 21:30:30 +00:00
geqo_copy.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
geqo_gene.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
geqo_misc.h First phase of implementing hash-based grouping/aggregation. An AGG plan 2002-11-06 00:00:45 +00:00
geqo_mutation.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
geqo_pool.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
geqo_random.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
geqo_recombination.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
geqo_selection.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
joininfo.h Modify planner's implied-equality-deduction code so that when a set 2003-01-24 03:58:44 +00:00
pathnode.h Teach planner how to propagate pathkeys from sub-SELECTs in FROM up to 2003-02-15 20:12:41 +00:00
paths.h Teach planner how to propagate pathkeys from sub-SELECTs in FROM up to 2003-02-15 20:12:41 +00:00
plancat.h Tweak planner and executor to avoid doing ExecProject() in table scan 2003-02-03 15:07:08 +00:00
planmain.h Modify planner's implied-equality-deduction code so that when a set 2003-01-24 03:58:44 +00:00
planner.h IN clauses appearing at top level of WHERE can now be handled as joins. 2003-01-20 18:55:07 +00:00
prep.h Detect case where an outer join can be reduced to a plain inner join 2003-02-09 23:57:19 +00:00
restrictinfo.h Restructure planning of nestloop inner indexscans so that the set of usable 2002-11-24 21:52:15 +00:00
subselect.h Make further use of new bitmapset code: executor's chgParam, extParam, 2003-02-09 00:30:41 +00:00
tlist.h Teach planner how to propagate pathkeys from sub-SELECTs in FROM up to 2003-02-15 20:12:41 +00:00
var.h Replace planner's representation of relation sets, per pghackers discussion. 2003-02-08 20:20:55 +00:00