Re: review: More frame options in window functions

Поиск
Список
Период
Сортировка
От Hitoshi Harada
Тема Re: review: More frame options in window functions
Дата
Msg-id e08cc0401001141032n6b5d6dd7ke548d4debbf9c8a6@mail.gmail.com
обсуждение исходный текст
Ответ на review: More frame options in window functions  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
2010/1/14 Pavel Stehule <pavel.stehule@gmail.com>:
> Hello
>
> I looked on Hitoshi's patch - and my result is:

Thanks for the review. I've found another crash today and attached is
fixed version. The case is:

SELECT four, sum(ten) over (PARTITION BY four ORDER BY four RANGE 1
PRECEDING) FROM tenk1 WHERE unique1 < 10;

The planner recognizes windowagg->ordNumCol as 0 for optimization, but
RANGE offset cases should really have interest on that value as the
syntax says.

Regards,


--
Hitoshi Harada

Вложения

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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: Add .gitignore files to CVS?
Следующее
От: David Fetter
Дата:
Сообщение: Re: mailing list archiver chewing patches