Re: Unexpected Result in Windowing - Mailing list pgsql-hackers

From David Fetter
Subject Re: Unexpected Result in Windowing
Date
Msg-id 20090330193449.GK30580@fetter.org
Whole thread Raw
In response to Re: Unexpected Result in Windowing  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Unexpected Result in Windowing
List pgsql-hackers
On Mon, Mar 30, 2009 at 01:31:23PM -0400, Tom Lane wrote:
> David Fetter <david@fetter.org> writes:
> > SELECT
> >     i,
> >     t,
> >     RANK() OVER (
> >         PARTITION BY i
> >         ORDER BY random()
> >     )
> > FROM foo;
> > ERROR:  ORDER/GROUP BY expression not found in targetlist
> 
> Fixed.

Thanks! :)

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: PQinitSSL broken in some use casesf
Next
From: Merlin Moncure
Date:
Subject: Re: PQinitSSL broken in some use casesf