Fix GEQO optimizer to work correctly with new outer-join-capable
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Sep 2000 18:42:34 +0000 (18:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Sep 2000 18:42:34 +0000 (18:42 +0000)
commitbb0d2a316d9c89df5327892079e6ee3b3d94ac58
tree08c1c450dcda1e04d94d113d92b5085a9171c8bc
parenta8329e656af417f4c9255b89b6e688c57069695d
Fix GEQO optimizer to work correctly with new outer-join-capable
query representation.  Note that GEQO_RELS setting is now interpreted
as the number of top-level items in the FROM list, not necessarily the
number of relations in the query.  This seems appropriate since we are
only doing join-path searching over the top-level items.
src/backend/optimizer/geqo/geqo_eval.c
src/backend/optimizer/geqo/geqo_main.c
src/backend/optimizer/geqo/geqo_pool.c
src/backend/optimizer/path/allpaths.c
src/include/optimizer/geqo.h
src/include/optimizer/geqo_pool.h