forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd9c5b9a
committed
Fix bug in brin_minmax_multi_union
When calling sort_expanded_ranges() we need to remember the returnvalue, because the function sorts and also deduplicates the ranges. Sothe number of ranges may decrease. brin_minmax_multi_union failed to dothat, which resulted in crashes due to bogus ranges (equal minval/maxvalbut not marked as compacted).Reported-by: Jaime CasanovaDiscussion:https://postgr.es/m/20210404052550.GA4376%40ahch-to1 parent4908684 commitd9c5b9a
1 file changed
+1
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2794 | 2794 |
| |
2795 | 2795 |
| |
2796 | 2796 |
| |
2797 |
| - | |
| 2797 | + | |
2798 | 2798 |
| |
2799 | 2799 |
| |
2800 | 2800 |
| |
|
0 commit comments
Comments
(0)