Re: subtract a day from the NOW function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: subtract a day from the NOW function
Дата
Msg-id 29828.1181254100@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: subtract a day from the NOW function  (Steve Crawford <scrawford@pinpointresearch.com>)
Список pgsql-sql
Steve Crawford <scrawford@pinpointresearch.com> writes:
> But PG doesn't follow the same rules in subtracting timestamptz values
> so operations involving timestamps and intervals are (sometimes) not
> reversible:

Yeah.  timestamp_mi is performing a justify_hours call, which it should
not, but removing that call changes a lot of the regression test
outputs.  So we've been afraid to change it.  You can find more about
that in the archives.
        regards, tom lane


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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: subtract a day from the NOW function
Следующее
От: osmar della paschoa jr
Дата:
Сообщение: Re: [ADMIN] the right time to vacuum database?