Re: custom average window function failure

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Seb <spluque(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: custom average window function failure
Date: 2016-10-10 01:34:24
Message-ID: a8a4c0b8-9a64-7f2c-864c-3fc7e75a1b62@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/09/2016 09:40 AM, Tom Lane wrote:
> Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sebastian P. Luque 2016-10-10 03:10:22 Re: custom average window function failure
Previous Message Tom Lane 2016-10-09 20:00:21 Re: custom average window function failure