pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Dilger <hornschnorter@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: [HACKERS] Something for the TODO list: deprecating abstime and friends
Date: Wed, 13 Dec 2017 07:15:52 -0800
Message-ID: <36580BBF-CD87-48AA-AB3A-937069F62E36@gmail.com> (raw)
In-Reply-To: <20171213080729.ruhlypp54v4a7anp@alap3.anarazel.de>
References: <30691.1500156034@sss.pgh.pa.us>
	<3D60B97C-5E80-4343-9CCF-390CD23B0E23@gmail.com>
	<20171213080729.ruhlypp54v4a7anp@alap3.anarazel.de>


> On Dec 13, 2017, at 12:07 AM, Andres Freund <andres@anarazel.de> wrote:
> 
> Hi,
> 
> On 2017-07-17 12:54:31 -0700, Mark Dilger wrote:
>> These types provide a 4-byte datatype for storing real-world second
>> precision timestamps, as occur in many log files.
> 
> These seem to be getting less common IME, most products have higher
> resolution these days.  If this were nicely written, maintainable, and
> documented code my position would differ, but it really isn't.
> 
> 
>> That said, I am fully aware that these are deprecated and expect you
>> will remove them, at which time I'll have to keep them in my tree
>> and politely refuse to merge in your change which removes them.
> 
> It'd be way less work to package abstime as an extension if you want to
> do so.

After proposing to submit a patch for the secondstamp datatype (which
I mentioned upthread), Robert objected to the idea of data on disk changing
meaning, which was a part of the idea that Tom seemed to be willing to
accept.  Since I couldn't get both Tom and Robert on board with any
particular design, I silently withdrew from the development of any such
patch.

This has happened on several proposals I have made on this list over
the years.  Unless there is fairly unanimous support from the committers,
I don't bother following through with a proposal, given the improbability
of it getting accepted.

I would happily finish and submit that prior proposal if there were general
agreement that it is a good design.  I have no interest in making abstime
into an extension, however.

mark





view thread (38+ messages)  latest in thread

Message-ID: <36580BBF-CD87-48AA-AB3A-937069F62E36@gmail.com>
Permalink:  ../36580BBF-CD87-48AA-AB3A-937069F62E36@gmail.com/
Also on:    postgresql.org/message-id/36580BBF-CD87-48AA-AB3A-937069F62E36@gmail.com

 · 

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: hornschnorter@gmail.com, andres@anarazel.de, tgl@sss.pgh.pa.us
  Subject: Re: [HACKERS] Something for the TODO list: deprecating abstime and friends
  In-Reply-To: <36580BBF-CD87-48AA-AB3A-937069F62E36@gmail.com>

* 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