git.postgresql.org Git - postgresql.git/commit
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.
This is the main PostgreSQL git repository.
RSS
Atom