forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8dcaea7
committed
Add a fudge factor to genericcostestimate() to prevent the planner from
thinking that indexes of different sizes are equally attractive. Pergripe from Jim Nasby. (I remain unconvinced that there's such a problemin existing releases, but CVS HEAD definitely has got a problem becauseof its new count-only-leaf-pages approach to indexscan costing.)1 parenta794fb0 commit8dcaea7
1 file changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
4657 | 4657 | | |
4658 | 4658 | | |
4659 | 4659 | | |
| 4660 | + | |
| 4661 | + | |
| 4662 | + | |
| 4663 | + | |
| 4664 | + | |
| 4665 | + | |
| 4666 | + | |
| 4667 | + | |
| 4668 | + | |
| 4669 | + | |
| 4670 | + | |
| 4671 | + | |
| 4672 | + | |
| 4673 | + | |
| 4674 | + | |
| 4675 | + | |
| 4676 | + | |
| 4677 | + | |
4660 | 4678 | | |
4661 | 4679 | | |
4662 | 4680 | | |
| |||
0 commit comments
Comments
(0)