forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1dad2a5
committed
Fix order of parameters in BRIN minmax-multi calls
The BRIN minmax-multi consistent function incorrectly assumed it canlookup an operator, and then swap the arguments to get the commutator.For example <(a,b) would be called as <(b,a) to get >(a,b). This workswhen the arguments are of the same type, but with cross-type opclassesthis fails. We can't swap <(float4,float8) arguments, for example.Fixed by passing arguments in the right order.Discussion:https://postgr.es/m/CAJKUy5jLZFLCxyxfT%3DMfK5mtPfSzHA1rVLowR-j4RRsFVvKm7A%40mail.gmail.com1 parente1fbe11 commit1dad2a5
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2606 | 2606 |
| |
2607 | 2607 |
| |
2608 | 2608 |
| |
2609 |
| - | |
2610 |
| - | |
| 2609 | + | |
| 2610 | + | |
2611 | 2611 |
| |
2612 | 2612 |
| |
2613 | 2613 |
| |
2614 | 2614 |
| |
2615 | 2615 |
| |
2616 | 2616 |
| |
2617 |
| - | |
2618 |
| - | |
| 2617 | + | |
| 2618 | + | |
2619 | 2619 |
| |
2620 | 2620 |
| |
2621 | 2621 |
| |
|
0 commit comments
Comments
(0)