Re: [HACKERS] Something for the TODO list: deprecating abstime and friends

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Something for the TODO list: deprecating abstime and friends
Дата
Msg-id 3009.1538196058@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Something for the TODO list: deprecating abstime andfriends  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> Here's a refreshed version of this patch.  First patch removes
> contrib/spi/timetravel, second patch removes abstime, reltime, tinterval
> together with timeofday().

I'd kind of like to keep timeofday(); it's the only simple way to
get a time display that includes "native" timezone info.  For
instance, I get

regression=# select timeofday();
              timeofday              
-------------------------------------
 Sat Sep 29 00:37:35.490977 2018 EDT
(1 row)

I think every other option would show me "-04" not "EDT".

+1 for removing the rest of that, though.  Unless somebody is
motivated to recast contrib/spi/timetravel with timestamptz
as the datetime type?

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Oid returned from AddSubscriptionRelState/UpdateSubscriptionRelState
Следующее
От: "Shinoda, Noriyoshi (PN Japan GCS Delivery)"
Дата:
Сообщение: RE: auto_explain: Include JIT output if applicable