forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb47b4db
committed
Extend sortsupport for text to more opclasses.
Have varlena.c expose an interface that allows the char(n), bytea, andbpchar types to piggyback on a now-generalized SortSupport for text.This pushes a little more knowledge of the bpchar/char(n) type intovarlena.c than might be preferred, but that seems like the approachthat creates least friction. Also speed things up for index buildsthat use text_pattern_ops or varchar_pattern_ops.This patch does quite a bit of renaming, but it seems likely to beworth it, so as to avoid future confusion about the fact that this codeis now more generally used than the old names might have suggested.Peter Geoghegan, reviewed by Álvaro Herrera and Andreas Karlsson,with small tweaks by me.1 parent24a26c9 commitb47b4db
File tree
8 files changed
+335
-135
lines changed- doc/src/sgml
- src
- backend/utils/adt
- include
- catalog
- utils
8 files changed
+335
-135
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1140 | 1140 |
| |
1141 | 1141 |
| |
1142 | 1142 |
| |
1143 |
| - | |
1144 |
| - | |
| 1143 | + | |
1145 | 1144 |
| |
1146 | 1145 |
| |
1147 | 1146 |
| |
|
Lines changed: 49 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
| |||
649 | 650 |
| |
650 | 651 |
| |
651 | 652 |
| |
652 |
| - | |
| 653 | + | |
653 | 654 |
| |
654 | 655 |
| |
655 |
| - | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
656 | 662 |
| |
657 |
| - | |
658 | 663 |
| |
659 |
| - | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
660 | 668 |
| |
661 | 669 |
| |
662 | 670 |
| |
| |||
858 | 866 |
| |
859 | 867 |
| |
860 | 868 |
| |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
861 | 886 |
| |
862 | 887 |
| |
863 | 888 |
| |
| |||
926 | 951 |
| |
927 | 952 |
| |
928 | 953 |
| |
929 |
| - | |
930 |
| - | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
931 | 957 |
| |
932 | 958 |
| |
933 | 959 |
| |
| |||
1030 | 1056 |
| |
1031 | 1057 |
| |
1032 | 1058 |
| |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + |
0 commit comments
Comments
(0)