forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3bfe957
committed
Fix logic error in add_paths_to_partial_grouping_rel.
Commit3bf05e0 sometimes uses thecheapest_partial_path variable in this function to mean the cheapestone from the input rel and at other times the cheapest one from thepartially grouped rel, but it never resets it, so we can end up withbad plans, leading to "ERROR: Aggref found in non-Agg plan node".Jeevan Chalke, per a report from Andreas Joseph Krogh and a separateoff-list report from Rajkumar RaghuwanshiDiscussion:http://postgr.es/m/CAM2+6=X9kxQoL2ZqZ00E6asBt9z+rfyWbOmhXJ0+8fPAyMZ9Jg@mail.gmail.com1 parentbe42eb9 commit3bfe957
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6339 | 6339 |
| |
6340 | 6340 |
| |
6341 | 6341 |
| |
| 6342 | + | |
| 6343 | + | |
| 6344 | + | |
6342 | 6345 |
| |
6343 | 6346 |
| |
6344 | 6347 |
| |
|
0 commit comments
Comments
(0)