forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit62097a4
committed
Fix selectivity estimation @> (anymultirange, anyrange) operator
Attempt to get selectivity estimation for @> (anymultirange, anyrange) operatorcaused an error in buildfarm, because this operator was missed in switch()of calc_hist_selectivity(). Fix that and also make regression tests reliablycheck that selectivity estimation for (multi)ranges doesn't fall. Previously,whether we test selectivity estimation for (multi)ranges depended onwhether autovacuum managed to gather concurrently to the test.Reported-by: Michael PaquierDiscussion:https://postgr.es/m/X%2BwmgjRItuvHNBeV%40paquier.xyz1 parent860fe27 commit62097a4
File tree
5 files changed
+23
-0
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
5 files changed
+23
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
649 | 649 |
| |
650 | 650 |
| |
651 | 651 |
| |
| 652 | + | |
652 | 653 |
| |
653 | 654 |
| |
654 | 655 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2227 | 2227 |
| |
2228 | 2228 |
| |
2229 | 2229 |
| |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
2230 | 2235 |
| |
2231 | 2236 |
| |
2232 | 2237 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
792 | 792 |
| |
793 | 793 |
| |
794 | 794 |
| |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
795 | 800 |
| |
796 | 801 |
| |
797 | 802 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
423 | 423 |
| |
424 | 424 |
| |
425 | 425 |
| |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
426 | 432 |
| |
427 | 433 |
| |
428 | 434 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
216 | 216 |
| |
217 | 217 |
| |
218 | 218 |
| |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
219 | 225 |
| |
220 | 226 |
| |
221 | 227 |
| |
|
0 commit comments
Comments
(0)