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 1vSTG2-00FJhV-2F for pgsql-committers@arkaria.postgresql.org; Mon, 08 Dec 2025 04:53:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vSTG0-00EqGH-0O for pgsql-committers@arkaria.postgresql.org; Mon, 08 Dec 2025 04:53:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vSTFz-00EqG9-0d for pgsql-committers@lists.postgresql.org; Mon, 08 Dec 2025 04:53:56 +0000 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vSTFw-003hER-1K for pgsql-committers@lists.postgresql.org; Mon, 08 Dec 2025 04:53:54 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id BACE8EC018A; Sun, 7 Dec 2025 23:53:51 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Sun, 07 Dec 2025 23:53:51 -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=fm1; t=1765169631; x=1765256031; bh=cilcj+Ik2K QS3ipPdL9lrNmKsoSkYt9ah+2zgqJ33vs=; b=Wcs5zHIueHhnxD3ukcnoxKDQra kXTRWESm+UIL6odcWhG0Uhp7xZ7rA9b0LdXqvda8sxLapPWHj7LDbQca+VUQkJpq NlFQflUKheWrlUqZChWP76P3Itd6HsGCVYqlnqBhyM2wmIaeJP5nA7hDwHWvvJQB jvI1UG5Nws2C8F2/T7KoWUhRC/SdmarcTa+yoYOrVrXUaaatWLXACY2lXWqCkt5/ fkbgpNKsu1tggCDYJ71hWKJay8ZeZQcalfwuVnq7wqnYA0Ayjw6/sjxhN1vmkqdK vKNZ8jMeoubrAoqZKIWoWnmbum/hakV/dD5NsAIiI7+s4ShuWG2EOIy4gLhQ== 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=fm1; t= 1765169631; x=1765256031; bh=cilcj+Ik2KQS3ipPdL9lrNmKsoSkYt9ah+2 zgqJ33vs=; b=R0pLVGelODlKbMDKOdRECZkSuBDfhL1UfS56ad/jX8q+pemsU64 pOA2DvE0cRiqJ0Kyp5J1p4Cm+tomsgou7kk3JA+6GlyENT08O/WFTf4JCt+VXquk 2L7jWxyJEJLglvGjOwQGA+58RzTOJwjFI88mKLe3DZ10uu14H+f8sGDEykSccxhL riGx78laGIy5rmldsRIVjwAhqT+DTpJWcLwBovze7tHi5PX8aRmRi65YDmR+eqou 4mcv51Si257Cn7oyACeOfIxbl+1vyRkY9uXr8ProGIOax/R/BfwzFwqaWJaRvESV 4OqUxx4BqiJtnnKGRBnUyq/AthazjRe8LiQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduheejiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtroertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeffudelheeghfekfefgfedthfekuddt vdfhudekgeegheeikefflefhleekheetfeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiipdhn sggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehtghhlse hsshhsrdhpghhhrdhprgdruhhspdhrtghpthhtoheprghnughrvgifseguuhhnshhlrghn vgdrnhgvthdprhgtphhtthhopehpghhsqhhlqdgtohhmmhhithhtvghrsheslhhishhtsh drphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepshgrmhhimhhsvghihhesghhm rghilhdrtghomh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 7 Dec 2025 23:53:49 -0500 (EST) Date: Mon, 8 Dec 2025 13:53:32 +0900 From: Michael Paquier To: Tom Lane Cc: Andrew Dunstan , pgsql-committers@lists.postgresql.org, Sami Imseih Subject: Re: pgsql: injection_points: Remove portions related to custom pgstats Message-ID: References: <2899652.1765167313@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tYO4PfAh6TeYcx+0" Content-Disposition: inline In-Reply-To: <2899652.1765167313@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --tYO4PfAh6TeYcx+0 Content-Type: multipart/mixed; boundary="K8IPjYXKragKyxcQ" Content-Disposition: inline --K8IPjYXKragKyxcQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 07, 2025 at 11:15:13PM -0500, Tom Lane wrote: > I think that this is really a bug in the Xversion-update test, because > I don't see why we'd be holding src/test/modules libraries to the > standard of can-be-upgraded-across-versions. But maybe there's > something I'm missing? Yes, I've noticed that a couple of minutes ago, trying to make heads and tails out of it. I thought that the tets modules libraries were not getting pulled in the cross-version upgrades but here we are. =46rom what I can see, this specific failure is caused by src/test/modules/gin/ where the module has forgotten to drop the extension injection_points, but there is a total of three modules that could have hit the problem, as of: - src/test/modules/nbtree/ (could be hit in the future as it uses injection_points). - src/test/modules/gin/ - src/test/modules/typcache/ And I was wondering whether I should just plant more items in AdjustUpgrade.pm, like in the attached. We need that for gin when dealing with an old server of at least v17, and for typcache with v18. The nbtree test is so recent that it does not matter. TestUpgradeXversion.pm has an ON_ERROR_STOP=3D1 so the version check is=20 required. -- Michael --K8IPjYXKragKyxcQ Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-Adjust-upgrade-outputs.patch" Content-Transfer-Encoding: quoted-printable =46rom b46344c697771e5496e5d837b9e8e6e2d6b88b01 Mon Sep 17 00:00:00 2001 =46rom: Michael Paquier Date: Mon, 8 Dec 2025 13:51:40 +0900 Subject: [PATCH] Adjust upgrade outputs --- src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm b/src/test/perl= /PostgreSQL/Test/AdjustUpgrade.pm index 7224c286e1df..78d060c989ab 100644 --- a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm +++ b/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm @@ -102,6 +102,19 @@ sub adjust_database_contents } } =20 + # Remove databases that are known to cause upgrades to fail because of + # updates done in the test module injection_points in v19 that these rely + # on. + if ($old_version >=3D 18) + { + _add_st($result, 'postgres', 'drop database regression_typcache'); + } + + if ($old_version >=3D 17) + { + _add_st($result, 'postgres', 'drop database regression_gin'); + } + # avoid no-path-to-downgrade-extension-version issues if ($dbnames{contrib_regression_test_extensions}) { --=20 2.51.0 --K8IPjYXKragKyxcQ-- --tYO4PfAh6TeYcx+0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmk2WcwACgkQnvQgOdby QH3bJQ/+OWU718NQJRgOu3ns6R8sBY0t3XC+77xYruN1erHiSGslz3m32Zjwpo9D 7Io03RWQxxqbW/sxz62lwqe1W1Ub5EaIj0+r9D0VRZlOWr0MuYK3jCOvR8QroVoj nj3B9dD0MDEUdhvtdlkhn3Xrz9nEMRgwKmlcC+4q1afVhNhwU3sJJDl/H7T81vxC QnDGwlOz0zYORKQhkblNHG076NcBzGdiVVby3VVZGLCX4gUBUex875ckdfdD5M1f CjsATS2deDU01HYt1vaiO3/U8MSmmelT5l0hapkTzIpNUYiuamRxYDpmKrJEqDdw z7UkfV9J8HZSr/e0CiMvBRLbUPD2p98xHOrJZeadCuzdijQZsNSv3iI1oOgG80Ev UIivm0ysMiYDypObs9lwsGgMOxNHijSP9BYxqegxcMf67fvPEUfC7RBroz2+WiPR A3aA3HBAV9yuG1laQ9AakzuU3ZiEOl2WrJV68cTNhEfgR0iwSMpPo1Esh2YHtIXh ioK3PrRsj5BSGzL/bnMtt7i1SyobEMGbwop+NvXUWhIdMTE51kV6bZbARvPNdD3+ INgvdtWh510ncM0NeYy+vvCgMPOFt0o3rtld1mLJG4YicRklxQKG6zTK96DkPu6y Qv4NkswLV/K59Vmj6rI4iHSuYXSBNIIVK7l1UFVKzZnKQJEKgPA= =qmzM -----END PGP SIGNATURE----- --tYO4PfAh6TeYcx+0--