git.postgresql.org Git - postgresql.git/commit
2002年12月16日 21:30:30 +0000 (21:30 +0000)
2002年12月16日 21:30:30 +0000 (21:30 +0000)
commit 9f76d0d926ffe72e32248b7c79f585c47e643981
Fix GEQO to work again in CVS tip, by being more careful about memory
allocation in best_inner_indexscan(). While at it, simplify GEQO's
interface to the main planner --- make_join_rel() offers exactly the
API it really wants, whereas calling make_rels_by_clause_joins() and
make_rels_by_clauseless_joins() required jumping through hoops.
Rewrite gimme_tree for clarity (sometimes iteration is much better than
recursion), and approximately halve GEQO's runtime by recognizing that
tours of the forms (a,b,c,d,...) and (b,a,c,d,...) are equivalent
because of symmetry in make_join_rel().
This is the main PostgreSQL git repository.
RSS
Atom