Re: [HACKERS] Something for the TODO list: deprecating abstime and friends
В списке pgsql-hackers по дате отправления:
| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера