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 1tC2wi-009rkW-2L for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Nov 2024 20:29:35 +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 1tC2we-00BhUP-46 for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Nov 2024 20:29:32 +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 1tC2wd-00BhUH-RT for pgsql-hackers@lists.postgresql.org; Fri, 15 Nov 2024 20:29:32 +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.94.2) (envelope-from ) id 1tC2wb-0028KZ-1j for pgsql-hackers@postgresql.org; Fri, 15 Nov 2024 20:29:31 +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 4AFKTLOS2483971; Fri, 15 Nov 2024 15:29:21 -0500 From: Tom Lane To: Noah Misch cc: Aleksander Alekseev , pgsql-hackers , Marco Slot , Alvaro Herrera , Christoph Berg , Pavan Deolasee Subject: Re: Potential ABI breakage in upcoming minor releases In-reply-to: <20241115175223.68.nmisch@google.com> References: <1976928.1731614974@sss.pgh.pa.us> <202411142033.u6za5a6ylj2k@alvherre.pgsql> <20241114224108.d0.nmisch@google.com> <2443809.1731683394@sss.pgh.pa.us> <20241115175223.68.nmisch@google.com> Comments: In-reply-to Noah Misch message dated "Fri, 15 Nov 2024 09:52:23 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2483969.1731702561.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 15 Nov 2024 15:29:21 -0500 Message-ID: <2483970.1731702561@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Noah Misch writes: > On Fri, Nov 15, 2024 at 10:09:54AM -0500, Tom Lane wrote: >> I'm starting to lean to the opinion that we need a re-wrap. > Perhaps. Even if we do rewrap for some reason, it's not a given that > restoring the old struct size is net beneficial. If we restore the old = struct > size in v16.6, those who rebuild for v16.5 would need to rebuild again. I think what we should say is "sorry, 16.5 is broken for use with these extensions, use another minor version". If we don't undo the struct size change then 16.5 is effectively a major version update for affected extensions: they cannot build a binary release that works with both older and newer minor releases. That's a packaging disaster, especially if it impacts more than timescale. The more so if more than one release branch is affected. > Either way, users of timescaledb should rebuild timescaledb for every fu= ture > PostgreSQL minor release. We really don't want that either. I recall that somebody (Peter E?) had been looking into tools for automatically checking ABI compatibility in stable branches. My takeaway from this mess is that we need to move the priority of that project way up. regards, tom lane