Re: Follow up: range query with timestamp returns different result with index than without (7.3.3)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Follow up: range query with timestamp returns different result with index than without (7.3.3)
Дата
Msg-id 15202.1060266196@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Follow up: range query with timestamp returns different result with index than without (7.3.3)  (Christian van der Leeden <lists@logicunited.com>)
Ответы Re: Follow up: range query with timestamp returns different result with index than without (7.3.3)  (Christian van der Leeden <lists@logicunited.com>)
Список pgsql-bugs
Christian van der Leeden <lists@logicunited.com> writes:
>     the reason for this misbehaviour was an invalid timestamp value.
> I've tried to dump/restore the db and the restore choked on a
> "incorrect timestamp" namely:
> 4714-11--2147483624 -2147483648:-2147483648:-2147483648 BC

Hmm ... I'm suspecting that that was a "minus infinity" under the hood.
Is your installation built with integer timestamps, or floating point?
(If you're not sure, try "pg_config --configure" and see if it mentions
--enable-integer-datetimes.)  Also, is the column in question of type
timestamp, or timestamp with time zone?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: range query with timestamp returns different result with index than without (7.3.3)
Следующее
От: Troels Arvin
Дата:
Сообщение: Non-standard TIMESTAMP WITH TIME ZONE literal handling