pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Davis <pgsql@j-davis.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Window function bug
Date: Tue, 12 Jul 2011 18:25:59 -0400
Message-ID: <18463.1310509559@sss.pgh.pa.us> (raw)
In-Reply-To: <1310485990.3012.268.camel@jdavis>
References: <1310431686.497.26.camel@jdavis-ux.asterdata.local>
	<12015.1310480904@sss.pgh.pa.us>
	<12936.1310484039@sss.pgh.pa.us>
	<1310485990.3012.268.camel@jdavis>

Jeff Davis <pgsql@j-davis.com> writes:
> On Tue, 2011-07-12 at 11:20 -0400, Tom Lane wrote:
>> So far as I can see, the failure only
>> occurs if we have a plain (non-grouping) Agg node, which implies that
>> the user is trying to use windowing functions on a result set that's
>> guaranteed to contain exactly one aggregated row.  That seems pretty
>> useless, so I'm thinking it's not worth back-patching a fix for.
>> Comments?

> Agreed. I'm not worried about backpatching it.

I've fixed this in HEAD and 9.1 only.

			regards, tom lane



view thread (6+ messages)

Message-ID: <18463.1310509559@sss.pgh.pa.us>
Permalink:  ../18463.1310509559@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18463.1310509559@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql@j-davis.com
  Subject: Re: Window function bug
  In-Reply-To: <18463.1310509559@sss.pgh.pa.us>
  References: <1310431686.497.26.camel@jdavis-ux.asterdata.local> <12015.1310480904@sss.pgh.pa.us> <12936.1310484039@sss.pgh.pa.us> <1310485990.3012.268.camel@jdavis> <18463.1310509559@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