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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: cffd89c) | patch
Fix oversight in planning for multiple indexscans driven by
Sat, 1 Jul 2006 22:07:23 +0000 (22:07 +0000)
Sat, 1 Jul 2006 22:07:23 +0000 (22:07 +0000)
commit 08ccdf020e65d8670936317909e5c48c818eab85
Fix oversight in planning for multiple indexscans driven by
ScalarArrayOpExpr index quals: we were estimating the right total
number of rows returned, but treating the index-access part of the
cost as if a single scan were fetching that many consecutive index
tuples. Actually we should treat it as a multiple indexscan, and
if there are enough of 'em the Mackert-Lohman discount should kick in.
src/backend/optimizer/path/costsize.c diff | blob | blame | history
src/backend/utils/adt/selfuncs.c diff | blob | blame | history
src/include/utils/selfuncs.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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