forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite72910f
committed
Fix handling of multi-column BRIN indexes
When evaluating clauses on multiple scan keys of a multi-column BRINindex, we can stop processing as soon as we find a scan key eliminatingthe range, and the range should not be added to tbe bitmap.That's how it worked before 14, but sincea681e3c the code treatedthe range as matching if it matched at least the last scan key.Backpatch to 14, where this code was introduced.Backpatch-through: 14Discussion:https://postgr.es/m/ebc18613-125e-60df-7520-fcbe0f9274fc%40enterprisedb.com1 parent393430f commite72910f
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
686 | 686 |
| |
687 | 687 |
| |
688 | 688 |
| |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
689 | 696 |
| |
690 | 697 |
| |
691 | 698 |
| |
|
0 commit comments
Comments
(0)