On 10/09/2016 09:40 AM, Tom Lane wrote:
> 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.
Got it, thanks.
>
> regards, tom lane
>
--
Adrian Klaver
adrian.klaver@aklaver.com