diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-07-01 22:07:23 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-07-01 22:07:23 +0000 |
commit | 08ccdf020e65d8670936317909e5c48c818eab85 (patch) | |
tree | fcd2257618e09117711cba14d4d20a8f0d4e5eb4 /src/backend/access/gist/gistxlog.c | |
parent | cffd89ca736e485309cd51ae056f837bd7e683ad (diff) | |
download | postgresql-08ccdf020e65d8670936317909e5c48c818eab85.tar.gz postgresql-08ccdf020e65d8670936317909e5c48c818eab85.zip |
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.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions