pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: [HACKERS] Something for the TODO list: deprecating abstime and friends
Date: Sat, 29 Sep 2018 00:40:58 -0400
Message-ID: <3009.1538196058@sss.pgh.pa.us> (raw)
In-Reply-To: <20180928223240.kgwc4czzzekrpsid@alap3.anarazel.de>
References: <30691.1500156034@sss.pgh.pa.us>
	<20171213080506.cwjkpcz3bkk6yz2u@alap3.anarazel.de>
	<20180928223240.kgwc4czzzekrpsid@alap3.anarazel.de>

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




view thread (38+ messages)

Message-ID: <3009.1538196058@sss.pgh.pa.us>
Permalink:  ../3009.1538196058@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3009.1538196058@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de
  Subject: Re: [HACKERS] Something for the TODO list: deprecating abstime and friends
  In-Reply-To: <3009.1538196058@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox