git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ef74225) | patch
Modify planner's implied-equality-deduction code so that when a set
2003年1月24日 03:58:44 +0000 (03:58 +0000)
2003年1月24日 03:58:44 +0000 (03:58 +0000)
commit f5e83662d06a40f90ceb3516fc88674eb6c1e4f9
Modify planner's implied-equality-deduction code so that when a set
of known-equal expressions includes any constant expressions (including
Params from outer queries), we actively suppress any 'var = var'
clauses that are or could be deduced from the set, generating only the
deducible 'var = const' clauses instead. The idea here is to push down
the restrictions implied by the equality set to base relations whenever
possible. Once we have applied the 'var = const' clauses, the 'var = var'
clauses are redundant, and should be suppressed both to save work at
execution and to avoid double-counting restrictivity.
12 files changed:
src/backend/nodes/list.c diff | blob | blame | history
src/backend/optimizer/path/indxpath.c diff | blob | blame | history
src/backend/optimizer/path/pathkeys.c diff | blob | blame | history
src/backend/optimizer/plan/initsplan.c diff | blob | blame | history
src/backend/optimizer/util/joininfo.c diff | blob | blame | history
src/backend/optimizer/util/relnode.c diff | blob | blame | history
src/backend/optimizer/util/restrictinfo.c diff | blob | blame | history
src/backend/utils/adt/selfuncs.c diff | blob | blame | history
src/include/nodes/pg_list.h diff | blob | blame | history
src/include/optimizer/joininfo.h diff | blob | blame | history
src/include/optimizer/paths.h diff | blob | blame | history
src/include/optimizer/planmain.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /