- Notifications
You must be signed in to change notification settings - Fork5
Commitbf0b6ac
committed
Skip opfamily check in eclass_matches_any_index() when the index isn't a
btree. We can't easily tell whether clauses generated from the equivalenceclass could be used with such an index, so just assume that they might be.This bit of over-optimization prevented use of non-btree indexes for nestloopinner indexscans, in any case where the join uses an equality operator thatis also a btree operator --- which in particular is typically true for hashindexes. Noted while trying to test the current hash index patch.1 parentcdd0895 commitbf0b6ac
1 file changed
+13
-2
lines changedLines changed: 13 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
1584 | 1584 |
| |
1585 | 1585 |
| |
1586 | 1586 |
| |
1587 |
| - | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
1588 | 1599 |
| |
1589 | 1600 |
| |
1590 | 1601 |
| |
|
0 commit comments
Comments
(0)