postgresql/src/backend/optimizer/path
Tom Lane de97072e3c Allow merge and hash joins to occur on arbitrary expressions (anything not
containing a volatile function), rather than only on 'Var = Var' clauses
as before.  This makes it practical to do flatten_join_alias_vars at the
start of planning, which in turn eliminates a bunch of klugery inside the
planner to deal with alias vars.  As a free side effect, we now detect
implied equality of non-Var expressions; for example in
	SELECT ... WHERE a.x = b.y and b.y = 42
we will deduce a.x = 42 and use that as a restriction qual on a.  Also,
we can remove the restriction introduced 12/5/02 to prevent pullup of
subqueries whose targetlists contain sublinks.
Still TODO: make statistical estimation routines in selfuncs.c and costsize.c
smarter about expressions that are more complex than plain Vars.  The need
for this is considerably greater now that we have to be able to estimate
the suitability of merge and hash join techniques on such expressions.
2003-01-15 19:35:48 +00:00
..
Makefile Fix relative path references so that make knowns which dependencies refer 2000-08-31 16:12:35 +00:00
allpaths.c Be more realistic about plans involving Materialize nodes: take their 2002-11-30 05:21:03 +00:00
clausesel.c Allow merge and hash joins to occur on arbitrary expressions (anything not 2003-01-15 19:35:48 +00:00
costsize.c Allow merge and hash joins to occur on arbitrary expressions (anything not 2003-01-15 19:35:48 +00:00
indxpath.c Allow merge and hash joins to occur on arbitrary expressions (anything not 2003-01-15 19:35:48 +00:00
joinpath.c Allow merge and hash joins to occur on arbitrary expressions (anything not 2003-01-15 19:35:48 +00:00
joinrels.c Fix GEQO to work again in CVS tip, by being more careful about memory 2002-12-16 21:30:30 +00:00
orindxpath.c Phase 2 of read-only-plans project: restructure expression-tree nodes 2002-12-12 15:49:42 +00:00
pathkeys.c Allow merge and hash joins to occur on arbitrary expressions (anything not 2003-01-15 19:35:48 +00:00
tidpath.c Phase 2 of read-only-plans project: restructure expression-tree nodes 2002-12-12 15:49:42 +00:00