pgsql-server/src backend/nodes/outfuncs.c back ...
| От | tgl@svr1.postgresql.org (Tom Lane) |
|---|---|
| Тема | pgsql-server/src backend/nodes/outfuncs.c back ... |
| Дата | |
| Msg-id | 20040105233954.A5B41D1B513@svr1.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@svr1.postgresql.org 04/01/05 19:39:54
Modified files:
src/backend/nodes: outfuncs.c
src/backend/optimizer/path: costsize.c indxpath.c orindxpath.c
src/backend/optimizer/plan: createplan.c
src/backend/optimizer/util: pathnode.c restrictinfo.c
src/backend/utils/adt: selfuncs.c
src/include/nodes: relation.h
src/include/optimizer: paths.h restrictinfo.h
Log message:
Adjust indexscan planning logic to keep RestrictInfo nodes associated
with index qual clauses in the Path representation. This saves a little
work during createplan and (probably more importantly) allows reuse of
cached selectivity estimates during indexscan planning. Also fix latent
bug: wrong plan would have been generated for a 'special operator' used
in a nestloop-inner-indexscan join qual, because the special operator
would not have gotten into the list of quals to recheck. This bug is
only latent because at present the special-operator code could never
trigger on a join qual, but sooner or later someone will want to do it.
В списке pgsql-committers по дате отправления: