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 1vT6Qd-00Crq3-2T for pgsql-committers@arkaria.postgresql.org; Tue, 09 Dec 2025 22:43:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vT6Qc-007xuz-0o for pgsql-committers@arkaria.postgresql.org; Tue, 09 Dec 2025 22:43:30 +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 1vT6Qc-007xur-05 for pgsql-committers@lists.postgresql.org; Tue, 09 Dec 2025 22:43:30 +0000 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vT6Qa-0040gL-2B for pgsql-committers@lists.postgresql.org; Tue, 09 Dec 2025 22:43:29 +0000 Received: from phl-compute-08.internal (phl-compute-08.internal [10.202.2.48]) by mailfhigh.phl.internal (Postfix) with ESMTP id CA37A14000CE; Tue, 9 Dec 2025 17:43:27 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-08.internal (MEProxy); Tue, 09 Dec 2025 17:43:27 -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=1765320207; x=1765406607; bh=VkZ7qemXP3 GZjY/VzwWwTeHeekWBuV+VnwhNqxNXIB4=; b=j/1hZh6zFE1gZ0UKPlpzTtJR6W G6KDdiXiLyVhrHsXpahM0v2N1t7TDXZcNMH1aFz+sRYLqGXzn6EkBgjsDXangZrQ LMfnrmwj6FuLLIHEXqmVNfyTaIE0X+f/WAjOmMoRS1EFezS8RaXBE1KImBiOtlKz IaS7HuB0E5tOEHBV6w1V1Ex9ACN00vr/nDI6QjxpY4hvPULSqoOV38F+rsDAfzly 0HxnQxu9k6BvDUOZn1Z7i+3JzKd6iNlebrc0+BrlUznkwn9v8Vdl+AakUxg2Mm3d /2bASwmnGs7QTgxN5f0PEvKUC52LSl0ADAN2pm+q8IloCK+7Kd146ca6ldVw== 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= 1765320207; x=1765406607; bh=VkZ7qemXP3GZjY/VzwWwTeHeekWBuV+Vnwh NqxNXIB4=; b=SgPEekFgQEXT+mgnJ/MNFdd4gnBjBBeFJTIxHr3LrnqKiKN/c8N 9Y6+2CaheEQAkOUPMXgC+UQ2cFLCmzpwjgiUoy8cUUhsUYTaQ9u0uwGr7iStfGS6 T1uBcm9yTSFG/j02cpi8RCaRyRAqqYfo/PDcDZBXFCl8KrYgC9bluy23Md8qUYR/ aDUeKIIGEw9U0tbsIHouwCh3P8/LnXyQRY+lJheoA7p705Y1m5VuM6/5tjCxo1Lq MQf5Lq7GKL60U90aHDVMkHZ2wAAhP6erKZs6XFxPyBqCAS8NsIpjqqcGrvHqW7DL xowI+nz63T20SyxH+mQ8YTprQUdToBIkYoQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvtdejlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtroertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeffudelheeghfekfefgfedthfekuddt vdfhudekgeegheeikefflefhleekheetfeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiipdhn sggprhgtphhtthhopeehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehhlhhinh hnrghkrgesihhkihdrfhhipdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhu shdprhgtphhtthhopegrnhgurhgvfiesughunhhslhgrnhgvrdhnvghtpdhrtghpthhtoh epphhgshhqlhdqtghomhhmihhtthgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdr ohhrghdprhgtphhtthhopehsrghmihhmshgvihhhsehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 9 Dec 2025 17:43:25 -0500 (EST) Date: Wed, 10 Dec 2025 07:43:13 +0900 From: Michael Paquier To: Heikki Linnakangas Cc: Tom Lane , 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> <2904427.1765169854@sss.pgh.pa.us> <251242.1765302019@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fL2SJEzt8kcOBoCt" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --fL2SJEzt8kcOBoCt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 09, 2025 at 10:04:43PM +0200, Heikki Linnakangas wrote: > It's a little tricky if a module has more than one test that uses the > extension. Namely src/test/modules/nbtree which I added recently has two > test scripts, nbtree_incomplete_splits.sql and nbtree_half_dead_pages.sql, > and both of them do "create extension if not exists injection_points;". T= hey > run concurrently, so they race on which one creates the extension first. = We > can't do the same for DROP EXTENSION at the end. >=20 > Maybe that's not a great design in the first place, though. Perhaps that > module should use a schedule file: >=20 > # create injection_points extension before the actual tests > test: test_setup >=20 > test: nbtree_incomplete_splits nbtree_half_dead_pages >=20 > # drop injection_points extension because it cannot be pg_upgraded. > test: test_clean Are the dumps of the old versions used in the buildfarm runs updated with each run? If yes, forcing a DROP EXTENSION in the problematic test modules has my favors over the dirtier tricks that would be required in AdjustUpgrade for the various database name patterns that depend on the build method. If no, well, AdjustUpgrade it is with some DROP DATABASE IF EXISTS. -- Michael --fL2SJEzt8kcOBoCt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmk4pgEACgkQnvQgOdby QH1PkBAAm95KB/tiXT7pNEJAhViuiPaEglLC3aBB0KkGXAW6REI+uHb6tIL2wbTt ZzFyn6y6UkZTdFDOeDZIOTF/OdmKza94pRbssOmuL9UG5Z8MhiQZ0X/t0+ZrQfrN oYBLwoNkm/aPA5b4Hco/ret+JX9z7niocZRzZVNgxph5JuH3RrO8nfVivuWrrfzq RHkfl7lPpB7c6In0ZPlYw/XXXeN7ev5BJP8kdZwPJUOGTyJ5vpa6aZjTWD30ptIB qTZ+cpXMLS9kx9hmNsjXjKybxoAl0Zg8R8+mUp5QLMmWlqzQG96XJJp9J3XKHW0I yxkW4+w4Y/ECd1p2tTUbcy+c8mSdvE7L6QMe2BBizePNHc8dMQzebjKi0YAQ+SOS 7oFdgQ+c84x1XdjRF+5J4CtGq9tHUwQaQpao7QoAFa7tLoAS3yPj6bCC9m6KoY8+ 01GrN2R2l9AiVPYINOHdoCRkzBBlL0JrNKlgjW5LLleBDu1QhWwPuMb4ZmkshMVF jPLiClRKmTtiGyBIyS6FhbRkq9LOUj+nvV2RLj3kgFeAybca7baL+/WvL3DwkjJw 8A6gOAPUl/HbY0y2cYCePRh69YP4WvBO4P4lupgT2Rfce5B+e/oKn+ODUhS5qZkg gGANxGKc14JJ2GHUyv2J9Xwrq4M+IUDaN4Cgnp/puymeMt/lwvw= =g+PY -----END PGP SIGNATURE----- --fL2SJEzt8kcOBoCt--