Re: infinity as a date

Поиск
Список
Период
Сортировка
От Jean-Christian Imbeault
Тема Re: infinity as a date
Дата
Msg-id 3DF82ADF.1030801@mega-bucks.co.jp
обсуждение исходный текст
Ответ на infinity as a date  (Jean-Christian Imbeault <jc@mega-bucks.co.jp>)
Ответы Re: infinity as a date  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:
>
> I think that this is an outright bug: if type DATE doesn't have a
> concept of infinity then it should throw an error, not translate
> infinity to NULL.  NULL means "unknown", not "I cannot cope with this
> value".

I agree, which is why I brought it up.

As an aside, why is there a concept of an infinite timestamp but not one
for date? I am puzzled as to why the there is no concept of an infinite
date.

Thanks!

Jc


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Recovery Mode
Следующее
От: Tom Lane
Дата:
Сообщение: Re: infinity as a date