pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6303: ROW_NUMBER()
3+ messages / 3 participants
[nested] [flat]

* BUG #6303: ROW_NUMBER()
@ 2011-11-21 16:40 Alessandro Bellanda <a.bellanda@gmail.com>
  2011-11-21 17:42 ` Re: BUG #6303: ROW_NUMBER() bricklen <bricklen@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Alessandro Bellanda @ 2011-11-21 16:40 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      6303
Logged by:          Alessandro Bellanda
Email address:      a.bellanda@gmail.com
PostgreSQL version: 9.1.1
Operating system:   Linux CentOS release 5.5 64 bit
Description:        ROW_NUMBER()
Details: 

Case:

ROW_NUMBER() OVER (ORDER BY CASE(SUM(expr1)>SUM(expr2),var1,var2))

Error description:
could not find pathkey item to sort



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #6303: ROW_NUMBER()
  2011-11-21 16:40 BUG #6303: ROW_NUMBER() Alessandro Bellanda <a.bellanda@gmail.com>
@ 2011-11-21 17:42 ` bricklen <bricklen@gmail.com>
  2011-11-23 14:58   ` Re: BUG #6303: ROW_NUMBER() Andrea Suisani <sickpig@opinioni.net>
  0 siblings, 1 reply; 3+ messages in thread

From: bricklen @ 2011-11-21 17:42 UTC (permalink / raw)
  To: Alessandro Bellanda <a.bellanda@gmail.com>; +Cc: pgsql-bugs

On Mon, Nov 21, 2011 at 8:40 AM, Alessandro Bellanda
<a.bellanda@gmail.com> wrote:
>
> The following bug has been logged online:
>
> Bug reference:      6303
> Logged by:          Alessandro Bellanda
> Email address:      a.bellanda@gmail.com
> PostgreSQL version: 9.1.1
> Operating system:   Linux CentOS release 5.5 64 bit
> Description:        ROW_NUMBER()
> Details:
>
> Case:
>
> ROW_NUMBER() OVER (ORDER BY CASE(SUM(expr1)>SUM(expr2),var1,var2))
>
> Error description:
> could not find pathkey item to sort

Tom Lane has already fixed this. See
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=1679e9feddc94bd7372a6829db92868e55...



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #6303: ROW_NUMBER()
  2011-11-21 16:40 BUG #6303: ROW_NUMBER() Alessandro Bellanda <a.bellanda@gmail.com>
  2011-11-21 17:42 ` Re: BUG #6303: ROW_NUMBER() bricklen <bricklen@gmail.com>
@ 2011-11-23 14:58   ` Andrea Suisani <sickpig@opinioni.net>
  0 siblings, 0 replies; 3+ messages in thread

From: Andrea Suisani @ 2011-11-23 14:58 UTC (permalink / raw)
  To: pgsql-bugs

On 11/21/2011 06:42 PM, bricklen wrote:
> On Mon, Nov 21, 2011 at 8:40 AM, Alessandro Bellanda
> <a.bellanda@gmail.com>  wrote:
>>
>> The following bug has been logged online:
>>
>> Bug reference:      6303
>> Logged by:          Alessandro Bellanda
>> Email address:      a.bellanda@gmail.com
>> PostgreSQL version: 9.1.1
>> Operating system:   Linux CentOS release 5.5 64 bit
>> Description:        ROW_NUMBER()
>> Details:
>>
>> Case:
>>
>> ROW_NUMBER() OVER (ORDER BY CASE(SUM(expr1)>SUM(expr2),var1,var2))
>>
>> Error description:
>> could not find pathkey item to sort
>
> Tom Lane has already fixed this. See
> http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=1679e9feddc94bd7372a6829db92868e55...
>

and the fix will be included into postgres 9.1.2
(that should be announced on Monday Dec 5, with
  tarballs available from Thursday Dec 1)

Andrea



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2011-11-23 14:58 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-11-21 16:40 BUG #6303: ROW_NUMBER() Alessandro Bellanda <a.bellanda@gmail.com>
2011-11-21 17:42 ` bricklen <bricklen@gmail.com>
2011-11-23 14:58   ` Andrea Suisani <sickpig@opinioni.net>

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