Re: 'infinity'::Interval should be added

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 'infinity'::Interval should be added
Дата
Msg-id 10302.1544713683@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 'infinity'::Interval should be added  (Chapman Flack <chap@anastigmatix.net>)
Список pgsql-hackers
Chapman Flack <chap@anastigmatix.net> writes:
> On 12/13/18 04:41, Simon Riggs wrote:
>> [ we should allow this: ]
>> SELECT 'infinity'::interval;
>> ERROR:  invalid input syntax for type interval: "infinity"

> ... and if that is made to work, perhaps then arithmetic should be
> updated as well,

That wouldn't be optional.  All built-in functions on interval
would *have* to be updated to deal sanely with the new values.

(Fortunately, there aren't that many of them, IIRC.)

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: alternative to PG_CATCH
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Connections hang indefinitely while taking a gin index's LWLockbuffer_content lock