Adrian Klaver <adrian.klaver@aklaver.com> writes:
> On 10/09/2016 08:46 AM, Tom Lane wrote:
>> Clearly a bug --- the wrong type OIDs are being passed down to
>> array_append. It should be told that it's getting called as
> For my edification, why does this work?:
On closer inspection, the error is only in the
aggregate-used-as-window-function case, not plain aggregation.
regards, tom lane