On Tue, 2011-07-12 at 11:20 -0400, Tom Lane wrote:
> So far as I can see, the failure only
> occurs if we have a plain (non-grouping) Agg node, which implies that
> the user is trying to use windowing functions on a result set that's
> guaranteed to contain exactly one aggregated row. That seems pretty
> useless, so I'm thinking it's not worth back-patching a fix for.
> Comments?
Agreed. I'm not worried about backpatching it.
Regards,
Jeff Davis