Re: BUG #1517: SQL interval syntax is accepted by the parser,

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1517: SQL interval syntax is accepted by the parser,
Дата
Msg-id 15793.1111248673@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #1517: SQL interval syntax is accepted by the parser,  (Roy Badami <roy@gnomon.org.uk>)
Ответы Re: BUG #1517: SQL interval syntax is accepted by the parser,  (Roy Badami <roy@gnomon.org.uk>)
Список pgsql-bugs
Roy Badami <roy@gnomon.org.uk> writes:
> All the documented interval functionality works fine.  The
> undocumented support for ANSI SQL interval data types and litereals
> doesn't :-/

I think the reason it's not documented is precisely that Tom never
finished it.  It may not be very far away though --- seeing that the
grammar support exists, I suspect the only missing piece is that
interval_in isn't paying attention to the typmod info, as it should
do to disambiguate input like '1'.  Or maybe that support is partially
there but doesn't quite work.  Feel like hacking the code?

            regards, tom lane

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

Предыдущее
От: Roy Badami
Дата:
Сообщение: Re: BUG #1517: SQL interval syntax is accepted by the parser,
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: BUG #1541: Unusually long INSERT times after fresh