Skip to content
Snippets Groups Projects
Commit e55985d3 authored by Tom Lane's avatar Tom Lane
Browse files

Tweak indexscan cost estimation: round estimated # of tuples visited up

to next integer.  Previously, if selectivity was small, we could compute
very tiny scan cost on the basis of estimating that only 0.001 tuple
would be fetched, which is silly.  This naturally led to some rather
silly plans...
parent 341dc918
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment