Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2006-07-01 22:07:23 +0000
committerTom Lane2006-07-01 22:07:23 +0000
commit08ccdf020e65d8670936317909e5c48c818eab85 (patch)
treefcd2257618e09117711cba14d4d20a8f0d4e5eb4 /src/backend/regex
parentcffd89ca736e485309cd51ae056f837bd7e683ad (diff)
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/regex')
0 files changed, 0 insertions, 0 deletions