postgresql/src/backend/rewrite
Tom Lane bdfbfde1b1 IN clauses appearing at top level of WHERE can now be handled as joins.
There are two implementation techniques: the executor understands a new
JOIN_IN jointype, which emits at most one matching row per left-hand row,
or the result of the IN's sub-select can be fed through a DISTINCT filter
and then joined as an ordinary relation.
Along the way, some minor code cleanup in the optimizer; notably, break
out most of the jointree-rearrangement preprocessing in planner.c and
put it in a new file prep/prepjointree.c.
2003-01-20 18:55:07 +00:00
..
Makefile Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias. 2000-09-29 18:21:41 +00:00
rewriteDefine.c Adjust API of expression_tree_mutator and query_tree_mutator to 2003-01-17 02:01:21 +00:00
rewriteHandler.c Adjust API of expression_tree_mutator and query_tree_mutator to 2003-01-17 02:01:21 +00:00
rewriteManip.c IN clauses appearing at top level of WHERE can now be handled as joins. 2003-01-20 18:55:07 +00:00
rewriteRemove.c pgindent run. 2002-09-04 20:31:48 +00:00
rewriteSupport.c Restructure system-catalog index updating logic. Instead of having 2002-08-05 03:29:17 +00:00