Re: [HACKERS] Something for the TODO list: deprecating abstime and friends - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Something for the TODO list: deprecating abstime and friends
Date
Msg-id 3009.1538196058@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Something for the TODO list: deprecating abstime andfriends  (Andres Freund <andres@anarazel.de>)
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Oid returned from AddSubscriptionRelState/UpdateSubscriptionRelState
Next
From: "Shinoda, Noriyoshi (PN Japan GCS Delivery)"
Date:
Subject: RE: auto_explain: Include JIT output if applicable