OSDN Git Service

Improve my initial, rather hacky implementation of joins to append
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Feb 2006 02:59:17 +0000 (02:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Feb 2006 02:59:17 +0000 (02:59 +0000)
commit336a6491aaa8a2ba9a3118285522f237806b5e37
tree8c7313483667dd002728fdc2243d088adf56f5a8
parent354213c7f493596448ca83f13d107a8ef7a08aae
Improve my initial, rather hacky implementation of joins to append
relations: fix the executor so that we can have an Append plan on the
inside of a nestloop and still pass down outer index keys to index scans
within the Append, then generate such plans as if they were regular
inner indexscans.  This avoids the need to evaluate the outer relation
multiple times.
src/backend/commands/explain.c
src/backend/executor/nodeAppend.c
src/backend/optimizer/path/costsize.c
src/backend/optimizer/path/indxpath.c
src/backend/optimizer/path/joinpath.c
src/backend/optimizer/plan/setrefs.c
src/backend/optimizer/util/relnode.c
src/include/optimizer/pathnode.h