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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7c579fa) | patch
Improve planning of OR indexscan plans: for quals like
Tue, 5 Jun 2001 17:13:52 +0000 (17:13 +0000)
Tue, 5 Jun 2001 17:13:52 +0000 (17:13 +0000)
commit cdd230d62899455cc07ba1caf68387fb834d5bd2
Improve planning of OR indexscan plans: for quals like
WHERE (a = 1 or a = 2) and b = 42
and an index on (a,b), include the clause b = 42 in the indexquals
generated for each arm of the OR clause. Essentially this is an index-
driven conversion from CNF to DNF. Implementation is a bit klugy, but
better than not exploiting the extra quals at all ...
src/backend/optimizer/path/allpaths.c diff | blob | blame | history
src/backend/optimizer/path/indxpath.c diff | blob | blame | history
src/backend/optimizer/path/orindxpath.c diff | blob | blame | history
src/include/optimizer/paths.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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