forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit20e7e1f
committed
Remove <@ from contrib/intarray's GiST operator classes.
Since commitefc77cf, an indexed query using <@ has required afull-index scan, so that it actually performs worse than a plain seqscanwould do. As I noted at the time, we'd be better off to not treat <@ asbeing indexable by such indexes at all; and that's what this patch does.It would have been difficult to remove these opclass members withoutdropping the whole opclass before commit9f96827 fixed GiST opclassmember dependency rules, but now it's quite simple, so let's do it.I left the existing support code in place for the time being, withcomments noting it's now unreachable. At some point, perhaps we shouldremove that code in favor of throwing an error telling people to upgradethe extension version.Discussion:https://postgr.es/m/2176979.1596389859@sss.pgh.pa.usDiscussion:https://postgr.es/m/458.1565114141@sss.pgh.pa.us1 parent39132b7 commit20e7e1f
File tree
6 files changed
+39
-4
lines changed- contrib/intarray
- doc/src/sgml
6 files changed
+39
-4
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
96 | 102 |
| |
97 | 103 |
| |
98 | 104 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
533 | 533 |
| |
534 | 534 |
| |
535 | 535 |
| |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
536 | 542 |
| |
537 | 543 |
| |
538 | 544 |
| |
|
Lines changed: 21 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
399 | 399 |
| |
400 | 400 |
| |
401 | 401 |
| |
402 |
| - | |
| 402 | + | |
403 | 403 |
| |
404 | 404 |
| |
405 | 405 |
| |
| |||
436 | 436 |
| |
437 | 437 |
| |
438 | 438 |
| |
439 |
| - | |
| 439 | + | |
| 440 | + | |
440 | 441 |
| |
441 | 442 |
| |
442 | 443 |
| |
|
0 commit comments
Comments
(0)