forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2e4094d
committed
Department of second thoughts: the rule that ORDER BY and DISTINCT are
useless for an ungrouped-aggregate query holds regardless of whetheroptimize_minmax_aggregates succeeds. So we might as well apply theoptimization in any case.I'll leave 8.3 as it was, since this version is a tad more invasivethan my earlier patch.1 parent7692d8d commit2e4094d
1 file changed
+16
-12
lines changedLines changed: 16 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
835 | 835 |
| |
836 | 836 |
| |
837 | 837 |
| |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
838 | 853 |
| |
839 | 854 |
| |
840 | 855 |
| |
| |||
950 | 965 |
| |
951 | 966 |
| |
952 | 967 |
| |
953 |
| - | |
954 |
| - | |
955 |
| - | |
956 |
| - | |
957 |
| - | |
958 |
| - | |
959 |
| - | |
960 |
| - | |
961 |
| - | |
962 |
| - | |
963 |
| - | |
964 | 968 |
| |
965 | 969 |
| |
966 | 970 |
| |
|
0 commit comments
Comments
(0)