Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vEqsc-001mPT-Mw for pgsql-hackers@arkaria.postgresql.org; Fri, 31 Oct 2025 15:17:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1vEqsb-00FUSS-8L for pgsql-hackers@arkaria.postgresql.org; Fri, 31 Oct 2025 15:17:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vEqsa-00FURk-Uv for pgsql-hackers@lists.postgresql.org; Fri, 31 Oct 2025 15:17:27 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vEqsX-005GUs-27 for pgsql-hackers@lists.postgresql.org; Fri, 31 Oct 2025 15:17:27 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 59VFHBwr3537859; Fri, 31 Oct 2025 11:17:11 -0400 From: Tom Lane To: Nathan Bossart cc: Peter Eisentraut , "David E. Wheeler" , Mankirat Singh , pg@bowt.ie, andrew@dunslane.net, pgsql-hackers@lists.postgresql.org Subject: Re: abi-compliance-check failure due to recent changes to pg_{clear,restore}_{attribute,relation}_stats() In-reply-to: References: <334460.1760980024@sss.pgh.pa.us> <351026.1760988833@sss.pgh.pa.us> <1A5A7BE9-4A1B-4A1E-9182-02EBE9A54721@justatheory.com> <655240.1761077617@sss.pgh.pa.us> <61bd5c85-aaee-4a73-aba6-5b725eacdf27@eisentraut.org> Comments: In-reply-to Nathan Bossart message dated "Fri, 31 Oct 2025 09:09:36 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3537857.1761923831.1@sss.pgh.pa.us> Date: Fri, 31 Oct 2025 11:17:11 -0400 Message-ID: <3537858.1761923831@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Nathan Bossart writes: > On Fri, Oct 31, 2025 at 12:02:10PM +0100, Peter Eisentraut wrote: >> What is the reason that this file is supposed to contain the history of >> relevant changes, rather than just the last one? >> If you want the history, you could look at the git log of the file itself, >> no? > I think either way would ultimately be fine. I might argue that keeping > the full history in a file with detailed explanations is more accessible > than requiring folks to run > git log .abi-compliance-history > (Plus, if someone doesn't bother to put details in the commit message, you > then have to sleuth further to figure out what changed.) Yeah, that last. I would expect the annotation text in .abi-compliance-history to be specific about the nature of the ABI break, whereas the log message for the commit that changed things might not bother with such details. As we move along with this effort, we might ultimately decide that this scheme is overdoing the amount of detail recorded. But to start with, I'd rather err on the side of recording more info not less. regards, tom lane