Re: Windowing Function Patch Review -> NTH_VALUE - Mailing list pgsql-hackers

From Hitoshi Harada
Subject Re: Windowing Function Patch Review -> NTH_VALUE
Date
Msg-id e08cc0400811120147x7351e119p13c2b08c00bcb906@mail.gmail.com
Whole thread Raw
In response to Re: Windowing Function Patch Review -> NTH_VALUE  ("Hitoshi Harada" <umi.tanuki@gmail.com>)
List pgsql-hackers
patch-2.
They are against HEAD today.

2008/11/12 Hitoshi Harada <umi.tanuki@gmail.com>:
> 2008/11/12 1:09 Hitoshi Harada <umi.tanuki@gmail.com>:
>> So obviously nth_value(expr, 0) causes error and nth_value(expr, 1)
>> returns the first row. I will update my patch soon.
>
> Fixed these issues:
> - ntile() value check
> - nth_value() value check and behavior change
>
> Also, I found a bug that is fixed in this release:
>
> SELECT sum(salary) OVER w1, count(*) OVER w2 FROM empsalary WINDOW w1
> AS (ORDER BY salary), w2 AS (ORDER BY salary);
>
> The identical windows named differently were not processed
> appropriately. It works now.
>
>
> Regards,
>
>
>
> --
> Hitoshi Harada
>



--
Hitoshi Harada

Attachment

pgsql-hackers by date:

Previous
From: "Hitoshi Harada"
Date:
Subject: Re: Windowing Function Patch Review -> NTH_VALUE
Next
From: Peter Eisentraut
Date:
Subject: Re: So what's an "empty" array anyway?