Skip site navigation (1) Skip section navigation (2)

Re: Unexpected Result in Windowing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Unexpected Result in Windowing
Date: 2009-03-30 17:31:23
Message-ID: 20183.1238434283@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
David Fetter <david(at)fetter(dot)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.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2009-03-30 17:40:14
Subject: Re: PQinitSSL broken in some use casesf
Previous:From: Heikki LinnakangasDate: 2009-03-30 17:06:48
Subject: Re: More message encoding woes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group