Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eP8lN-00084G-EC for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Dec 2017 15:16:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eP8lM-0008K5-EM for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Dec 2017 15:16:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eP8lM-0008JH-1Y for pgsql-hackers@lists.postgresql.org; Wed, 13 Dec 2017 15:16:00 +0000 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eP8lI-0001QH-9G for pgsql-hackers@postgresql.org; Wed, 13 Dec 2017 15:15:58 +0000 Received: by mail-qk0-x244.google.com with SMTP id d141so2341971qkc.12 for ; Wed, 13 Dec 2017 07:15:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=PpNARvoPZGfIjVP26XX/+UcXcxfG+vSOqiJPH0uYofY=; b=O3OhMV0OFMIh4fTQK/JZwgDRRZK7/1UFhrKTgPdOeqkTOF3uDLY+cQSKQsZvN2qxjZ DwqVH3T/4AAqhp/Rd/yOuKRZ93fV6ZqhmpJQsYGFyDnkfPTgHTjgBoQNjWxB4pf87KV8 WTId76+p51bW0dxvWIcic8TzNWCQmPz+q/TnhS7l8VG8EDt5kK+3ZaDbKaqXvGQHGd0S XjdIys2ufsZeBP4/C+hGbYX2W5IOUXTc4ZiC5RCx+3rW6leF2lEcLatbSBV8cXxQCnqy 7yzByKsAtNvKp/5yTvJ/D3Hnf7NiM4uQ14OoN7/YO1maMK3SW1SkxMjyIAAe2OQqtG7V HkGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=PpNARvoPZGfIjVP26XX/+UcXcxfG+vSOqiJPH0uYofY=; b=W4Z3yoO4NiES2fKyw44pTKgYV2jjAWuYV2YbiYASNC4tyAQtnY2PVAIeuCrRxxokWG 3gDbOxR8JyAqBgWJOZciGwzweKtRr2V6Z287eZrgic0eJScyKCro0b2X+H9Jv1U77Nrm YzvZgk+p0Z4cdbyD3sPEmmtN4+PxEyhhl1ICY5MYVC7L0DCDJjxSzp3xFdUTGx8+f4um afczvZMY8PRN3rGyc+ArGMkHcFH3Ue7SxncabkqOyKQMolYBO4nLCe6AZkhdFgXxrL/K mIL3MDaOmamRzimOneqswTs3MBvWtTE9Ze4ZvWzjY9LN9aTpJzcTcU7xSOVka6RPuu+R AJgA== X-Gm-Message-State: AKGB3mLguwRFuetO6hNq67rCi7FmFDQyyiwVnnEdE0hWYvDv58eoiKyz t73FQoCLUfhYlsEOv1XcBJBW1UB4 X-Google-Smtp-Source: ACJfBov9EnGksqid4vHuk2d3PdOxWL1Kgn/FYRgqzTrmVJue+tb70XVmlxE6xaWGepoXp+V2E8vj/w== X-Received: by 10.55.178.134 with SMTP id b128mr11043485qkf.21.1513178155059; Wed, 13 Dec 2017 07:15:55 -0800 (PST) Received: from [192.168.2.121] ([172.92.45.130]) by smtp.gmail.com with ESMTPSA id s41sm1120243qtk.37.2017.12.13.07.15.53 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Dec 2017 07:15:54 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [HACKERS] Something for the TODO list: deprecating abstime and friends From: Mark Dilger In-Reply-To: <20171213080729.ruhlypp54v4a7anp@alap3.anarazel.de> Date: Wed, 13 Dec 2017 07:15:52 -0800 Cc: Tom Lane , pgsql-hackers@postgreSQL.org Content-Transfer-Encoding: 7bit Message-Id: <36580BBF-CD87-48AA-AB3A-937069F62E36@gmail.com> References: <30691.1500156034@sss.pgh.pa.us> <3D60B97C-5E80-4343-9CCF-390CD23B0E23@gmail.com> <20171213080729.ruhlypp54v4a7anp@alap3.anarazel.de> To: Andres Freund X-Mailer: Apple Mail (2.3124) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Dec 13, 2017, at 12:07 AM, Andres Freund 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