Re: time conversion fuinctions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: time conversion fuinctions
Дата
Msg-id 18763.1160236625@sss.pgh.pa.us
обсуждение исходный текст
Ответ на time conversion fuinctions  (Rafal Pietrak <rafal@zorro.isa-geek.com>)
Ответы Re: time conversion fuinctions  (brian <brian@zijn-digital.com>)
Re: time conversion fuinctions  (Rafal Pietrak <rafal@zorro.isa-geek.com>)
Список pgsql-general
Rafal Pietrak <rafal@zorro.isa-geek.com> writes:
> Is this the expected result?

timestamp_date() currently returns NULL if the timestamp is infinity.
Since we don't have any representation for infinity in the date type,
this is pretty much its only alternative other than throwing an error
(which might indeed be a saner behavior).  There is a TODO item to
support +/-infinity in dates, which would be the correct long-term
solution.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: URGENT - startup process (PID 29541) was
Следующее
От: brian
Дата:
Сообщение: Re: time conversion fuinctions