diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-11-10 11:31:56 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-11-10 11:31:56 -0500 |
commit | e1b449bea909fa70211841d508cfaf91d18a6abb (patch) | |
tree | dc7a2c07e60e7d0899e806fb2ced2e572e1aa8f8 /src/backend/utils/adt/jsonfuncs.c | |
parent | 0b1b5033ac19236a4a23eed9232d74936717020e (diff) | |
download | postgresql-e1b449bea909fa70211841d508cfaf91d18a6abb.tar.gz postgresql-e1b449bea909fa70211841d508cfaf91d18a6abb.zip |
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 could
think of a compact one, but it doesn't seem worth expending lots of cycles
on.
Report: <CABVd52UAdGXpg_rCk46egpNKYdXOzCjuJ1zG26E2xBe_8bj+Fg@mail.gmail.com>
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions