pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Seb <spluque@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: custom average window function failure
Date: Sun, 9 Oct 2016 18:34:24 -0700
Message-ID: <a8a4c0b8-9a64-7f2c-864c-3fc7e75a1b62@aklaver.com> (raw)
In-Reply-To: <4302.1476031209@sss.pgh.pa.us>
References: <87int2qkat.fsf@gmail.com>
	<19183.1476027964@sss.pgh.pa.us>
	<1156e81d-0903-f453-6751-347d5105d4ca@aklaver.com>
	<4302.1476031209@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (15+ messages)  latest in thread

Message-ID: <a8a4c0b8-9a64-7f2c-864c-3fc7e75a1b62@aklaver.com>
Permalink:  ../a8a4c0b8-9a64-7f2c-864c-3fc7e75a1b62@aklaver.com/
Also on:    postgresql.org/message-id/a8a4c0b8-9a64-7f2c-864c-3fc7e75a1b62@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, tgl@sss.pgh.pa.us, spluque@gmail.com
  Subject: Re: custom average window function failure
  In-Reply-To: <a8a4c0b8-9a64-7f2c-864c-3fc7e75a1b62@aklaver.com>
  References: <87int2qkat.fsf@gmail.com> <19183.1476027964@sss.pgh.pa.us> <1156e81d-0903-f453-6751-347d5105d4ca@aklaver.com> <4302.1476031209@sss.pgh.pa.us> <a8a4c0b8-9a64-7f2c-864c-3fc7e75a1b62@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox