forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita3f945a
committed
Adjust estimate_num_groups() to not clamp per-relation group count
estimate to less than the number of values estimated for any one groupingVar, as suggested by Manfred. This is intuitively right, and what'smore it puts the plan choices in the subselect regression test back theway they were before ...1 parent48522fd commita3f945a
File tree
2 files changed
+18
-4
lines changed- src
- backend/utils/adt
- test/regress/expected
2 files changed
+18
-4
lines changedLines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
2043 | 2043 |
| |
2044 | 2044 |
| |
2045 | 2045 |
| |
| 2046 | + | |
2046 | 2047 |
| |
2047 | 2048 |
| |
2048 | 2049 |
| |
| |||
2057 | 2058 |
| |
2058 | 2059 |
| |
2059 | 2060 |
| |
| 2061 | + | |
| 2062 | + | |
2060 | 2063 |
| |
2061 | 2064 |
| |
2062 | 2065 |
| |
| |||
2075 | 2078 |
| |
2076 | 2079 |
| |
2077 | 2080 |
| |
2078 |
| - | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
2079 | 2084 |
| |
2080 | 2085 |
| |
2081 | 2086 |
| |
2082 | 2087 |
| |
| 2088 | + | |
2083 | 2089 |
| |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
2084 | 2098 |
| |
2085 | 2099 |
| |
2086 | 2100 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
| 137 | + | |
137 | 138 |
| |
138 | 139 |
| |
139 |
| - | |
140 |
| - | |
141 | 140 |
| |
| 141 | + | |
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
|
0 commit comments
Comments
(0)