pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Seb <spluque@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: custom average window function failure
Date: Sun, 09 Oct 2016 12:40:09 -0400
Message-ID: <4302.1476031209@sss.pgh.pa.us> (raw)
In-Reply-To: <1156e81d-0903-f453-6751-347d5105d4ca@aklaver.com>
References: <87int2qkat.fsf@gmail.com>
	<19183.1476027964@sss.pgh.pa.us>
	<1156e81d-0903-f453-6751-347d5105d4ca@aklaver.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

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


-- 
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: <4302.1476031209@sss.pgh.pa.us>
Permalink:  ../4302.1476031209@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4302.1476031209@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com, spluque@gmail.com
  Subject: Re: custom average window function failure
  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>

* 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