forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7defc3b
committed
Fix partial aggregation for the case of a degenerate GROUP BY clause.
The plan generated for sorted partial aggregation with "GROUP BY constant"included a Sort node with no sort keys, which the executor does not like.Per report from Steve Randall. I'd add a regression test case if I couldthink of a compact one, but it doesn't seem worth expending lots of cycleson.Report: <CABVd52UAdGXpg_rCk46egpNKYdXOzCjuJ1zG26E2xBe_8bj+Fg@mail.gmail.com>1 parentc32e05b commit7defc3b
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3714 | 3714 |
| |
3715 | 3715 |
| |
3716 | 3716 |
| |
3717 |
| - | |
3718 |
| - | |
3719 |
| - | |
| 3717 | + | |
| 3718 | + | |
| 3719 | + | |
3720 | 3720 |
| |
3721 |
| - | |
| 3721 | + | |
3722 | 3722 |
| |
3723 | 3723 |
| |
3724 | 3724 |
| |
|
0 commit comments
Comments
(0)