Re: Bug in aggregates in windowing context - Mailing list pgsql-hackers

From David Fetter
Subject Re: Bug in aggregates in windowing context
Date
Msg-id 20090909231543.GB20190@fetter.org
Whole thread Raw
In response to Re: Bug in aggregates in windowing context  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Bug in aggregates in windowing context
List pgsql-hackers
On Wed, Sep 09, 2009 at 06:35:05PM -0400, Tom Lane wrote:
> David Fetter <david@fetter.org> writes:
> > SELECT count(DISTINCT i) OVER () FROM (VALUES (1),(2),(3),(1)) AS s(i);
> > ERROR:  DISTINCT is not implemented for window functions
> 
> Which part of that message isn't clear to you?

A bug that's documented in the source code is still a bug.

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug in aggregates in windowing context
Next
From: Robert Haas
Date:
Subject: Re: Ragged CSV import