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.96) (envelope-from ) id 1vsXOa-0066Wc-1t for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Feb 2026 02:34:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vsXOY-00DY6x-1V for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Feb 2026 02:34:30 +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.96) (envelope-from ) id 1vsXOX-00DY6h-1u for pgsql-hackers@lists.postgresql.org; Wed, 18 Feb 2026 02:34:30 +0000 Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vsXOU-00000001IFA-3quD for pgsql-hackers@lists.postgresql.org; Wed, 18 Feb 2026 02:34:29 +0000 Received: from phl-compute-07.internal (phl-compute-07.internal [10.202.2.47]) by mailfout.phl.internal (Postfix) with ESMTP id D6939EC0013; Tue, 17 Feb 2026 21:34:24 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-07.internal (MEProxy); Tue, 17 Feb 2026 21:34:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1771382064; x=1771468464; bh=cV8SljLejK Tf7dH1b/mHiwWbHHDAHqjrJLAJtlIsVg8=; b=CshUeCBQRBKurlSPIMTB5K4D4o y21KHkUWt5X7xm7pJysEztOVhq+8uXn+slOKDR7HQKLnPjSqHI83EyPjMkCXXg9J 697aC+U4qGuXtnGTGxVQY8SCkG46gBajrvzmSAWIVONQD/qy4xivJRq5mb9T0mL/ MKpa5X8eLreeBdTy4LdtTUIfx0bTv1ByE6XIWjejf55JLuLfxo7pWySwG9JBauDK xiLIpRrEmmsLGE360jeAITTmCQidLw9LLAdB0Fy9VC+Te0yl0SHMT4h9KEV1X8Cc sm7B10YFC3c4YIf2FA0YB7FEo95/BXW7WzS1SJtTWRihcxa8nbIwrWxwxXyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1771382064; x=1771468464; bh=cV8SljLejKTf7dH1b/mHiwWbHHDAHqjrJLA JtlIsVg8=; b=vOHJqkCU8Fyjn2A3HgTlhico2WWZjA4xdcpTNwXnejDyVmmSFcq FF8+IAcKTjXV3FgR7L+ICdz6Hq33/4U+VoiLNJBE9NalY94KYBLxBxTC7qqGA4W3 OmxpCBt6jZSNj4y+Tf5mZ2E2RIv2HrQzTO0QrEOeANxfp3NidJ71Uj/SskjziPNx RDrJQeSCUU19IQNUcDBx5BqlfccCzaMgTiqe3HudobiuB6BZKPyr98TDF5yV0JFa 31LCiP4yJFBI8rdgcyY29lpP66d7Esn+H+BtwE5XcRYTl610KkfPsMeATAtasnC9 ZsfSYxy1UyM//pJevOIlA2dNgMhB5OO6d/A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvvddugeehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprghnug hrvggrshesphhrohigvghlrdhsvgdprhgtphhtthhopehtghhlsehsshhsrdhpghhhrdhp rgdruhhspdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhosh htghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 17 Feb 2026 21:34:23 -0500 (EST) Date: Wed, 18 Feb 2026 11:34:19 +0900 From: Michael Paquier To: Andreas Karlsson Cc: Tom Lane , pgsql-hackers@lists.postgresql.org Subject: Re: Our ABI diff infrastructure ignores enum SysCacheIdentifier Message-ID: References: <289125.1770913057@sss.pgh.pa.us> <4653b0bf-5642-44f1-b059-7cc1db861da7@proxel.se> <1b901fbf-655d-434c-aff4-ee06313d31cd@proxel.se> <4be75b7d-587f-4217-b0ed-396949d90b43@proxel.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qF3uFzLW3728wETY" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --qF3uFzLW3728wETY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 17, 2026 at 05:59:31PM +0900, Michael Paquier wrote: > On Tue, Feb 17, 2026 at 09:20:44AM +0100, Andreas Karlsson wrote: >> Yeah, that looks like a quite nice improvement. My only comment is that = if >> it was me I would have split it into two patches, one introducing the >> invalid and one replacing int. But you are much more familiar than me wi= th >> what granularity of commits the project prefers >=20 > Splitting that into two is probably better, yes. Even if both changes > touch the same portions of perl script, it makes the introduction of > the two concepts cleaner. The conclusion of this exercise is that I have spotted two more spots that checked for an invalid syscache ID based on a hardcoded value of -1, and I have replaced them with the new value assigned in the enum. A few more of these checked for a positive value. There was also one spot that I've found was incorrect, fixed separately as of f7df12a66cc9. The buildfarm is not complaining after c06b5b99bbb0 and ee642cccc43c, meaning that we are hopefully good for v19 and future versions. -- Michael --qF3uFzLW3728wETY Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmmVJSsACgkQnvQgOdby QH3joBAApAbZQGEY03JDgSFMLJ0Nq3w7oKNQp77vi0YKgIondwaYmBSiaYTqoEJ4 VV3OKKWNwab759KwXA7dpyCT5Fwk7loweRV39/WA6KXclmgkIgg8j6GMHW81eK57 OE0JnezL56V7tY5Igd1vNzpvuhL7kRC46gYdaF0I8QT3QBOrQEkrOHaq67U10yWb jXGyZ/bZUctbw3ZJDh9ecI7n8/Uf1T5wWgWrn4oshnhdPPFDAvKSDwZTJiJ6DDEe 87Bc2vZ3KWAfVpKEPhcs7LDFuGDpzpdzjy4uSWJcn0ihP5jxF0A+eVym+KlHpJ5q mRddzXriX3ATQRVyQQHQN8yPsgS1kHUfdxlhC6KleaW0OvrECDtWYsamP6IFqKHs akylJJQGWsBXP8Yt8ft9IMplNo57EpkxG6pdfecjSnJyQus9PH1yI2V0KCA+7qR3 553o0CO+tUJUfnHXZbPwc/yRJNP6mKKOmZS11GPWrZHjxe0OCrVcooarl9F8JHNi soep13LPLDNs6ijF6R0z2eKWvI0HtP0E+XO8s8hr4KIS9nGaM2/VzZWQdzjSTloJ mdVpFSclM2TYWjuIXRHSocdvUak6Wjy3b+wpb2V/lFIDu/CFtSLgC7KdtIM+kaZf hVFGpDudddPDxfp5NOUC6XYcNHsxIsR9aJn+0LUK8V8VLZId/XQ= =Rh5M -----END PGP SIGNATURE----- --qF3uFzLW3728wETY--