forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3d376fc
committed
Change the parser to translate "foo [NOT] IN (expression-list)" to
ScalarArrayOpExpr when possible, that is, whenever there is an array typefor the values of the expression list. This completes the project I'vebeen working on to improve the speed of index searches with long IN lists,as per discussion back in mid-October.I did not force initdb, but until you do one you will see failures in the"rules" regression test, because some of the standard system views use INand their compiled formats have changed.1 parent8a9acd3 commit3d376fc
File tree
5 files changed
+212
-103
lines changed- src
- backend
- nodes
- parser
- include/nodes
- test/regress/expected
5 files changed
+212
-103
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1597 | 1597 |
| |
1598 | 1598 |
| |
1599 | 1599 |
| |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
1600 | 1604 |
| |
1601 | 1605 |
| |
1602 | 1606 |
| |
| |||
1658 | 1662 |
| |
1659 | 1663 |
| |
1660 | 1664 |
| |
| 1665 | + | |
1661 | 1666 |
| |
1662 | 1667 |
| |
1663 | 1668 |
| |
|
Lines changed: 19 additions & 37 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
6721 | 6721 |
| |
6722 | 6722 |
| |
6723 | 6723 |
| |
6724 |
| - | |
| 6724 | + | |
6725 | 6725 |
| |
6726 | 6726 |
| |
6727 | 6727 |
| |
| |||
6760 | 6760 |
| |
6761 | 6761 |
| |
6762 | 6762 |
| |
6763 |
| - | |
6764 |
| - | |
6765 |
| - | |
6766 |
| - | |
6767 |
| - | |
6768 |
| - | |
6769 |
| - | |
6770 |
| - | |
| 6763 | + | |
| 6764 | + | |
| 6765 | + | |
| 6766 | + | |
| 6767 | + | |
| 6768 | + | |
| 6769 | + | |
| 6770 | + | |
| 6771 | + | |
6771 | 6772 |
| |
6772 | 6773 |
| |
6773 | 6774 |
| |
6774 |
| - | |
6775 |
| - | |
6776 |
| - | |
6777 |
| - | |
6778 |
| - | |
6779 |
| - | |
6780 |
| - | |
6781 |
| - | |
6782 |
| - | |
6783 |
| - | |
6784 |
| - | |
6785 |
| - | |
| 6775 | + | |
| 6776 | + | |
6786 | 6777 |
| |
6787 | 6778 |
| |
6788 | 6779 |
| |
6789 | 6780 |
| |
6790 | 6781 |
| |
6791 | 6782 |
| |
6792 | 6783 |
| |
6793 |
| - | |
6794 |
| - | |
| 6784 | + | |
| 6785 | + | |
| 6786 | + | |
6795 | 6787 |
| |
6796 | 6788 |
| |
6797 | 6789 |
| |
| |||
6803 | 6795 |
| |
6804 | 6796 |
| |
6805 | 6797 |
| |
6806 |
| - | |
6807 |
| - | |
6808 |
| - | |
6809 |
| - | |
6810 |
| - | |
6811 |
| - | |
6812 |
| - | |
6813 |
| - | |
6814 |
| - | |
6815 |
| - | |
6816 |
| - | |
6817 |
| - | |
| 6798 | + | |
| 6799 | + | |
6818 | 6800 |
| |
6819 | 6801 |
| |
6820 | 6802 |
| |
| |||
6904 | 6886 |
| |
6905 | 6887 |
| |
6906 | 6888 |
| |
6907 |
| - | |
| 6889 | + | |
6908 | 6890 |
| |
6909 | 6891 |
| |
6910 | 6892 |
| |
|
0 commit comments
Comments
(0)