forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7645376
committed
Rename find_em_expr_usable_for_sorting_rel.
I didn't particularly like this function name, as it fails toexpress what's going on. Also, returning the sort expressionalone isn't too helpful --- typically, a caller would alsoneed some other fields of the EquivalenceMember. But thesole caller really only needs a bool result, so let's makeit "bool relation_can_be_sorted_early()".Discussion:https://postgr.es/m/91f3ec99-85a4-fa55-ea74-33f85a5c651f@swarm64.com1 parent3753982 commit7645376
File tree
3 files changed
+28
-27
lines changed- src
- backend/optimizer/path
- include/optimizer
3 files changed
+28
-27
lines changedLines changed: 10 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2697 | 2697 |
| |
2698 | 2698 |
| |
2699 | 2699 |
| |
2700 |
| - | |
2701 |
| - | |
2702 |
| - | |
2703 |
| - | |
| 2700 | + | |
| 2701 | + | |
| 2702 | + | |
| 2703 | + | |
2704 | 2704 |
| |
2705 |
| - | |
2706 |
| - | |
2707 |
| - | |
2708 |
| - | |
| 2705 | + | |
| 2706 | + | |
| 2707 | + | |
2709 | 2708 |
| |
2710 |
| - | |
| 2709 | + | |
2711 | 2710 |
| |
2712 |
| - | |
2713 |
| - | |
| 2711 | + | |
| 2712 | + | |
2714 | 2713 |
| |
2715 | 2714 |
| |
2716 | 2715 |
| |
|
Lines changed: 15 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
961 | 961 |
| |
962 | 962 |
| |
963 | 963 |
| |
964 |
| - | |
965 |
| - | |
| 964 | + | |
| 965 | + | |
966 | 966 |
| |
967 | 967 |
| |
968 | 968 |
| |
969 | 969 |
| |
970 |
| - | |
971 |
| - | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
972 | 975 |
| |
973 |
| - | |
974 |
| - | |
975 |
| - | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
976 | 979 |
| |
977 | 980 |
| |
978 | 981 |
| |
| |||
982 | 985 |
| |
983 | 986 |
| |
984 | 987 |
| |
985 |
| - | |
| 988 | + | |
986 | 989 |
| |
987 | 990 |
| |
988 | 991 |
| |
| |||
1012 | 1015 |
| |
1013 | 1016 |
| |
1014 | 1017 |
| |
1015 |
| - | |
| 1018 | + | |
1016 | 1019 |
| |
1017 | 1020 |
| |
1018 | 1021 |
| |
| |||
1021 | 1024 |
| |
1022 | 1025 |
| |
1023 | 1026 |
| |
1024 |
| - | |
| 1027 | + | |
1025 | 1028 |
| |
1026 | 1029 |
| |
1027 | 1030 |
| |
| |||
1030 | 1033 |
| |
1031 | 1034 |
| |
1032 | 1035 |
| |
1033 |
| - | |
| 1036 | + | |
1034 | 1037 |
| |
1035 |
| - | |
| 1038 | + | |
1036 | 1039 |
| |
1037 | 1040 |
| |
1038 | 1041 |
| |
|
Lines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
151 | 150 |
| |
152 | 151 |
| |
153 | 152 |
| |
|
0 commit comments
Comments
(0)