OSDN Git Service

Adjust nestloop-with-inner-indexscan plan generation so that we catch
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 15 Jun 2003 22:51:45 +0000 (22:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 15 Jun 2003 22:51:45 +0000 (22:51 +0000)
commitcb02610e503957d7ed9b4375537fb6275c16f1fa
tree540391048748403dc597c35b4cb662d2d4cc3494
parent3fb6f1347ffbfcbba48b37ea35925f6b19821bf6
Adjust nestloop-with-inner-indexscan plan generation so that we catch
some cases of redundant clauses that were formerly not caught.  We have
to special-case this because the clauses involved never get attached to
the same join restrictlist and so the existing logic does not notice
that they are redundant.
src/backend/nodes/list.c
src/backend/nodes/outfuncs.c
src/backend/optimizer/path/indxpath.c
src/backend/optimizer/path/orindxpath.c
src/backend/optimizer/plan/createplan.c
src/backend/optimizer/util/pathnode.c
src/backend/optimizer/util/restrictinfo.c
src/include/nodes/pg_list.h
src/include/nodes/relation.h
src/include/optimizer/restrictinfo.h