Re: FWD: tinterval vs interval on pgsql-novice

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FWD: tinterval vs interval on pgsql-novice
Дата
Msg-id 14618.975422977@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: FWD: tinterval vs interval on pgsql-novice  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Список pgsql-hackers
Thomas Lockhart <lockhart@alumni.caltech.edu> writes:
>   select ('today', interval '1 day') OVERLAPS ('yesterday', interval '18
> hours');

> (the second one fails). Now that I look, this breakage was introduced in
> March when "we" expunged operators allowed as identifiers (Tom Lane and
> I have blood on our hands on this one ;) See gram.y around line 5409.

I see it does fail, but I'm at a complete loss to understand why,
especially given that the first case still works.  The grammar looks
perfectly fine AFAICT.  Can you explain what's wrong here?
        regards, tom lane


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

Предыдущее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: is it a bug?
Следующее
От: Don Baccus
Дата:
Сообщение: Re: beta testing version