Re: Windowing Function Patch Review -> NTH_VALUE

Поиск
Список
Период
Сортировка
От Hitoshi Harada
Тема Re: Windowing Function Patch Review -> NTH_VALUE
Дата
Msg-id e08cc0400811120147x7351e119p13c2b08c00bcb906@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Windowing Function Patch Review -> NTH_VALUE  ("Hitoshi Harada" <umi.tanuki@gmail.com>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Hitoshi Harada"
Дата:
Сообщение: Re: Windowing Function Patch Review -> NTH_VALUE
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: So what's an "empty" array anyway?