- Notifications
You must be signed in to change notification settings - Fork5
Commit709aca5
committed
Declare range inclusion operators as taking anyelement not anynonarray.
Use of anynonarray was a crude hack to get around ambiguity versus thearray inclusion operators of the same names. My previous patch to extendthe parser's type resolution heuristics makes that unnecessary, so usethe more general declaration instead. This eliminates a wart that theseoperators couldn't be used with ranges over arrays, which are otherwisesupported just fine.Also, mark range_before and range_after as commutator operators,per discussion with Jeff Davis.1 parent1a8b9fb commit709aca5
File tree
6 files changed
+24
-9
lines changed- src
- include/catalog
- test/regress
- expected
- sql
6 files changed
+24
-9
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
729 | 729 |
| |
730 | 730 |
| |
731 | 731 |
| |
732 |
| - | |
733 |
| - | |
| 732 | + | |
| 733 | + | |
734 | 734 |
| |
735 | 735 |
| |
736 | 736 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1676 | 1676 |
| |
1677 | 1677 |
| |
1678 | 1678 |
| |
1679 |
| - | |
| 1679 | + | |
1680 | 1680 |
| |
1681 | 1681 |
| |
1682 | 1682 |
| |
1683 |
| - | |
| 1683 | + | |
1684 | 1684 |
| |
1685 | 1685 |
| |
1686 | 1686 |
| |
1687 |
| - | |
| 1687 | + | |
1688 | 1688 |
| |
1689 |
| - | |
| 1689 | + | |
1690 | 1690 |
| |
1691 | 1691 |
| |
1692 | 1692 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4367 | 4367 |
| |
4368 | 4368 |
| |
4369 | 4369 |
| |
4370 |
| - | |
| 4370 | + | |
4371 | 4371 |
| |
4372 | 4372 |
| |
4373 | 4373 |
| |
4374 |
| - | |
| 4374 | + | |
4375 | 4375 |
| |
4376 | 4376 |
| |
4377 | 4377 |
| |
|
Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
964 | 964 |
| |
965 | 965 |
| |
966 | 966 |
| |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
967 | 979 |
| |
968 | 980 |
| |
969 | 981 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
346 | 346 |
| |
347 | 347 |
| |
348 | 348 |
| |
| 349 | + | |
| 350 | + | |
| 351 | + | |
349 | 352 |
| |
350 | 353 |
| |
351 | 354 |
| |
|
0 commit comments
Comments
(0)