Re: [HACKERS] Something for the TODO list: deprecating abstime and friends
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgreSQL.org
Date: 2018-09-29T04:40:58Z
Lists: 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
Commits
-
Add static assertions about pg_control fitting into one disk sector.
- 3cb29c42f990 10.0 landed
-
doc: Remove PostgreSQL version number from xml2 deprecation notice
- 3163baa6d2d1 9.3.0 cited