Re: add more frame types in window functions (ROWS)

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: add more frame types in window functions (ROWS)
Дата
Msg-id 87ein7h8ky.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Re: add more frame types in window functions (ROWS)  (Hitoshi Harada <umi.tanuki@gmail.com>)
Ответы Re: add more frame types in window functions (ROWS)  (Greg Smith <greg@2ndquadrant.com>)
Список pgsql-hackers
>>>>> "Hitoshi" == Hitoshi Harada <umi.tanuki@gmail.com> writes:
>> So for this and the regression test problem mentioned in the other>> mail, I'm setting this back to "waiting on
author".
Hitoshi> In my humble opinion, view regression test is not necessaryHitoshi> in both my patch and yours. At least
windowtest has notHitoshi> been testing views so far since it was introduced. Am IHitoshi> missing?
 

If you don't want to include views in the regression test, then take
them out; I will object to that, but I'll leave it up to the committer
to decide whether it is appropriate, provided the other concerns are
addressed.

But what you have in the regression tests _now_ is, as far as I can
tell, only working by chance; with "rules" and "window" being in the
same parallel group, and window.sql creating a view, you have an
obvious race condition, unless I'm missing something.

I included view tests in my own patch for the very simple reason that
I found actual bugs that way during development.

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: YAML Was: CommitFest status/management
Следующее
От: Itagaki Takahiro
Дата:
Сообщение: Re: Syntax for partitioning