Re: custom average window function failure - Mailing list pgsql-general

From Adrian Klaver
Subject Re: custom average window function failure
Date
Msg-id a8a4c0b8-9a64-7f2c-864c-3fc7e75a1b62@aklaver.com
Whole thread Raw
In response to Re: custom average window function failure  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
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


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: custom average window function failure
Next
From: Sebastian P. Luque
Date:
Subject: Re: custom average window function failure