Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g6749-0006zc-Ij for pgsql-hackers@arkaria.postgresql.org; Sat, 29 Sep 2018 04:41:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g6745-0003IB-P2 for pgsql-hackers@arkaria.postgresql.org; Sat, 29 Sep 2018 04:41:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g6745-0003I4-Hf for pgsql-hackers@lists.postgresql.org; Sat, 29 Sep 2018 04:41:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g673y-0000xD-7s for pgsql-hackers@postgreSQL.org; Sat, 29 Sep 2018 04:41:12 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w8T4ew0e003010; Sat, 29 Sep 2018 00:40:58 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@postgreSQL.org Subject: Re: [HACKERS] Something for the TODO list: deprecating abstime and friends 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> Comments: In-reply-to Andres Freund message dated "Fri, 28 Sep 2018 15:32:40 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3008.1538196058.1@sss.pgh.pa.us> Date: Sat, 29 Sep 2018 00:40:58 -0400 Message-ID: <3009.1538196058@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund 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