Re: Window Functions: v07 APIs and buffering strateties

Поиск
Список
Период
Сортировка
Искать
От
Hitoshi Harada
Тема
Re: Window Functions: v07 APIs and buffering strateties
Дата
Msg-id
e08cc0400810281023k157681d0p4d44a7cfeedac033@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Window Functions: v07 APIs and buffering strateties "Hitoshi Harada" <umi.tanuki@gmail.com>
Re: Window Functions: v07 APIs and buffering strateties ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: Window Functions: v07 APIs and buffering strateties "Hitoshi Harada" <umi.tanuki@gmail.com>
Re: Window Functions: v07 APIs and buffering strateties Tom Lane <tgl@sss.pgh.pa.us>
Re: Window Functions: v07 APIs and buffering strateties "Hitoshi Harada" <umi.tanuki@gmail.com>
Re: Window Functions: v07 APIs and buffering strateties Tom Lane <tgl@sss.pgh.pa.us>
Re: Window Functions: v07 APIs and buffering strateties "Hitoshi Harada" <umi.tanuki@gmail.com>
Re: Window Functions: v07 APIs and buffering strateties Tom Lane <tgl@sss.pgh.pa.us>
Re: Window Functions: v07 APIs and buffering strateties Martijn van Oosterhout <kleptog@svana.org>
Re: Window Functions: v07 APIs and buffering strateties Tom Lane <tgl@sss.pgh.pa.us>
Re: Window Functions: v07 APIs and buffering strateties Martijn van Oosterhout <kleptog@svana.org>
Re: Window Functions: v07 APIs and buffering strateties Tom Lane <tgl@sss.pgh.pa.us>
Re: Window Functions: v07 APIs and buffering strateties "Hitoshi Harada" <umi.tanuki@gmail.com>
Re: Window Functions: v07 APIs and buffering strateties "Hitoshi Harada" <umi.tanuki@gmail.com>
Re: Window Functions: v07 APIs and buffering strateties "Hitoshi Harada" <umi.tanuki@gmail.com>
Re: Window Functions: v07 APIs and buffering strateties ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: Window Functions: v07 APIs and buffering strateties "Hitoshi Harada" <umi.tanuki@gmail.com>
Re: Window Functions: v07 APIs and buffering strateties "David Rowley" <dgrowley@gmail.com>
Re: Window Functions: v07 APIs and buffering strateties "Hitoshi Harada" <umi.tanuki@gmail.com>
2008/10/29 Tom Lane :
> "Hitoshi Harada"  writes:
>> Can "ROWS" be reserved_keyword?
>
>> In window specifications, we have
>
>> OVER (ORDER BY expr_list [(ROWS|RANGE) ... ])
>
>> and currently "ROWS" is not reserved so bison is confused with cases
>> of "ROWS" included in expr_list and in FRAME clause. Because there is
>> no delimiter between ORDER BY clause and FRAME (that is (ROWS |
>> RANGE)) clause, "ROWS" can be in expr_list as a_expr.
>
> Right offhand, I don't see any alternative but to make both ROWS and
> RANGE reserved.  It's pretty annoying since that might break existing
> applications that have been using these as identifiers, but the SQL
> committee seems to care little about that :-(
>
> BTW, finding this sort of problem is exactly why ignoring shift/reduce
> conflicts is a bad idea.  You would've ended up with unexpected
> behaviors given the wrong input.
>

I see it now. This is so good study to me, though it spent me much
time. Thanks anyway.

Regards,


-- 
Hitoshi Harada

В списке pgsql-hackers по дате отправления
От: Heikki Linnakangas
Дата:
Сообщение: Re: Updating FSM on recovery
От: Simon Riggs
Дата:
FAQ