From: Andrea Suisani <sickpig@opinioni.net>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #6303: ROW_NUMBER()
Date: Wed, 23 Nov 2011 15:58:28 +0100
Message-ID: <4ECD0A14.2080806@opinioni.net> (raw)
In-Reply-To: <CAGrpgQ_omjLeM5q+gi2Z1V2vQm61n-Ae91DBp6=WM9K2BLeH0Q@mail.gmail.com>
References: <201111211640.pALGeAcX024645@wwwmaster.postgresql.org>
<CAGrpgQ_omjLeM5q+gi2Z1V2vQm61n-Ae91DBp6=WM9K2BLeH0Q@mail.gmail.com>
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
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: sickpig@opinioni.net
Subject: Re: BUG #6303: ROW_NUMBER()
In-Reply-To: <4ECD0A14.2080806@opinioni.net>
References: <201111211640.pALGeAcX024645@wwwmaster.postgresql.org> <CAGrpgQ_omjLeM5q+gi2Z1V2vQm61n-Ae91DBp6=WM9K2BLeH0Q@mail.gmail.com> <4ECD0A14.2080806@opinioni.net>
* 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