Re: boolean operator on interval producing strange results

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: boolean operator on interval producing strange results
Дата
Msg-id 19556.1171945022@sss.pgh.pa.us
обсуждение исходный текст
Ответ на boolean operator on interval producing strange results  ("Merlin Moncure" <mmoncure@gmail.com>)
Ответы Re: boolean operator on interval producing strange results
Список pgsql-general
"Merlin Moncure" <mmoncure@gmail.com> writes:
> #  select ((now() - '1 day'::interval)::timestamp - now()) < 0;
>  ?column?
> ----------
>  f  <-- looks busted to me
> (1 row)

If you'd casted to timestamptz then I'd agree this is busted.
As-is, it might have something to do with your timezone setting,
which you didn't mention?

            regards, tom lane

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