Re: 'infinity'::Interval should be added

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: 'infinity'::Interval should be added
Дата
Msg-id 20181215194855.sosuz52clzqk7wmm@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: 'infinity'::Interval should be added  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: 'infinity'::Interval should be added  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 2018-12-15 14:43:49 -0500, Tom Lane wrote:
> Note that timestamp_lt etc don't actually need any special case for
> infinity, and we could hope that the infinity representation for interval
> makes it possible to likewise not special-case it in interval comparisons.
> But I think it's silly to argue that infinity handling is a significant
> fraction of something like timestamp_pl_interval or timestamp_part.

I'm inclined to agree that if done carefully the overhead here is
probably acceptable.

Greetings,

Andres Freund


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Variable-length FunctionCallInfoData
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 'infinity'::Interval should be added