Re: [BUGS] extract(epoch from infinity) is not 0

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: [BUGS] extract(epoch from infinity) is not 0
Дата
Msg-id 4E1E0C92.40205@agliodbs.com
обсуждение исходный текст
Ответ на Re: [BUGS] extract(epoch from infinity) is not 0  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
> It's sort of non-obvious that either behavior is better than the other.

Here's the reason why the existing behavior is wrong:

postgres=# select extract('epoch' from timestamptz 'infinity') = extract
('epoch' from timestamptz '1970-01-01 00:00:00-00');?column?
----------t

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


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

Предыдущее
От: Brendan Jurd
Дата:
Сообщение: Re: [BUGS] extract(epoch from infinity) is not 0
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] extract(epoch from infinity) is not 0