Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncLd6-0007go-9U for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Apr 2022 06:28:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ncLd5-0004QS-1n for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Apr 2022 06:28:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncLd4-0004QJ-OW for pgsql-hackers@lists.postgresql.org; Thu, 07 Apr 2022 06:28:26 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncLd2-0006Np-PF for pgsql-hackers@postgresql.org; Thu, 07 Apr 2022 06:28:26 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id AA1785C01BA; Thu, 7 Apr 2022 02:28:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 07 Apr 2022 02:28:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; bh=8EW4uY6mWv5CM1S6xSKnRtpniV1VPt4x2wEXLJ XWJgg=; b=q99KuGekQX6OtwMFdxlTVnzJ3+xHgN/l9FnoDiGoKullia7jN59pT7 D0BDk18rQ4rEjV/mZ7e7MgR6A5mx369MxBayjCaABj8FFzUKgkekGCVaPdetHoK8 jCeNQV805g8v49hPmI703503nd4O/KP6EHi/1CT1Q6zWZNFmvnxdhgKbyv0I69Zk TZvb5YkGFmU6Axoose5Tpr9xWiuei/ltFMq41nh0g7a/jKE08PYqIE1fMzvNr4Ey 9adRzLwKIYtfJ/Za71VeDNLa9450LF6NRNNctCTkwIPhRGgD0h/l6k6d6Tdkq1Nl Sjb4bzY8UpAXK4htIy26lz+UP/csAIBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=8EW4uY6mWv5CM1S6x SKnRtpniV1VPt4x2wEXLJXWJgg=; b=ctM2VMRbVo6EGPfjL8OvTqhrieXiAo1yo C5O0IL4NZKq1ShJpsquVVXAerrBQkAnb/2QWTFcUyEM0FoV6yZfTA9nzzdMh60Kf uHYOtwwvEWccj8oy8FBMHUBoPwMat2x/ziWoJ5VzzxKmHYG8pKPwXkDhfiSkkPPP wg0AIVghZrf7PBfiplVU0nninueORMTqnqcgVdoMhOUu43vd5TEhy+IsWcvCdZn7 DDLnF18AWnc0z99PKHPWNydzPThZufVz0dVqJ242aaMqZL/aVW2Rc8BXts+bcQvi jANzqDBOrlbr9g+1RNjWMIzR+hcxSKsfXpYzJB04KnTNNOnjzPABw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudejjedguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculddvfedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepvdegudeuhfdtueeltedtveej heehieevueeigeelteegleejleeiueeiheegvefhnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 7 Apr 2022 02:28:21 -0400 (EDT) Date: Thu, 7 Apr 2022 15:28:19 +0900 From: Michael Paquier To: Tom Lane Cc: Robert Haas , Markus Wanner , "pgsql-hackers@postgresql.org" , Kyotaro Horiguchi Subject: Re: API stability [was: pgsql: Fix possible recovery trouble if TRUNCATE overlaps a checkpoint.] Message-ID: References: <2358496.1649168259@sss.pgh.pa.us> <2360280.1649169126@sss.pgh.pa.us> <2661153.1649186180@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m05N6ZbJ76y3wCnM" Content-Disposition: inline In-Reply-To: <2661153.1649186180@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --m05N6ZbJ76y3wCnM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 05, 2022 at 03:16:20PM -0400, Tom Lane wrote: > Robert Haas writes: >> On Tue, Apr 5, 2022 at 10:32 AM Tom Lane wrote: >>> My point is that we want that to happen in HEAD, but it's not okay >>> for it to happen in a minor release of a stable branch. >=20 >> I understand, but I am not sure that I agree. I think that if an >> extension stops compiling against a back-branch, someone will notice >> the next time they try to compile it and will fix it. Maybe that's not >> amazing, but I don't think it's a huge deal either. I agree with Tom's argument. The internals of this structure should not have changed in a stable branch. > Well, perhaps it's not the end of the world, but it's still a large > PITA for the maintainer of such an extension. They can't "just fix it" > because some percentage of their userbase will still need to compile > against older minor releases. Nor have you provided any way to handle > that requirement via conditional compilation. For example, I recall that some external extensions make use of sizeof(PGPROC) for their own business. Isn't 412ad7a going to be a problem to change this structure's internals for already-compiled code on stable branches? -- Michael --m05N6ZbJ76y3wCnM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmJOhIMACgkQnvQgOdby QH2K/RAAiNufgQR2vhtBtflQbLgsVntS5pIUI91sdsi5gG2yhA9KhKzoNyC1txWW ItnZIIPDoYIpK28MbHeIrOUBWF09PR+NM72mxkERwX5AdD8wBDuGiSxBe2G+Aknl no7FvTD0S6wIRUWPoeVmrxl6DQvBN/8dVb0f7bnuZD/1H+KsOAef6p1AlL0zjbcU 5pkNJb4wMF13GPaFtQN6bojjkLlgV0LftNGQQyqKjNSg3OZBK0bZOZfDgiihLK5B 2WmJrlCjMq20jzh7A3mZv1k7ICi0yVMMYqmQj2Kol9lsydXiCj/YFxk/DeXIY0bM 2k85gGmahYl2GQqHD5KKMWBBXnV4JfaY4x41VNV9G7w7mNUp6THxV6CZuARQlbWo iKkXYiuR0wltNy3fzY3dlPDAQcPcbW4DcP83XGBEu/knxzSzsjEx+9jTi8sF2MCC M8JSApccnQ/Q3QB+V30Cakl89iWKnBAEdHbJcGKYKxaIB+w0UygqXbTkyVPnAQ+Q 39IJdfI4ewQccqU93DkOgb83jYPsI3WblXtJM6nXrYR5pEoSQgg0oo+C1lIZgkcS laQccU2p69hVKoxhtlNW2QHhDMWnaq5gYm9hq5za+a0vrHtB9qfbYLZC+tnq4gCb KX+QYunF8BEZ8QAcHBEpZk5IwAP/f24oeHmSc9ChnjdvjdcSCmY= =jOL5 -----END PGP SIGNATURE----- --m05N6ZbJ76y3wCnM--