pgsql-server/src backend/nodes/list.c backend/ ...
pgsql-server/src backend/nodes/list.c backend/ ...
От:
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: tgl@svr1.postgresql.org 03/06/15 19:51:45 Modified files: src/backend/nodes: list.c outfuncs.c src/backend/optimizer/path: indxpath.c orindxpath.c src/backend/optimizer/plan: createplan.c src/backend/optimizer/util: pathnode.c restrictinfo.c src/include/nodes: pg_list.h relation.h src/include/optimizer: restrictinfo.h Log message: 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.