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 1wAFsf-002Cyp-1s for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Apr 2026 23:30:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAFsd-003ABq-2b for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Apr 2026 23:30:48 +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 1wAFsd-003ABi-0L for pgsql-hackers@lists.postgresql.org; Tue, 07 Apr 2026 23:30:47 +0000 Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wAFsb-000000017T1-22TE for pgsql-hackers@lists.postgresql.org; Tue, 07 Apr 2026 23:30:46 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id 3213A1400217; Tue, 7 Apr 2026 19:30:44 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Tue, 07 Apr 2026 19:30:44 -0400 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=fm2; t=1775604644; x=1775691044; bh=KezkBnbcbz 3HJEqWz2iZmLex4UJfwt9FuHD47vyekHQ=; b=CUgxEqazSRLow7hLbz1FIVarx2 l9tk0TgNAGmqxOtoXWvgLhVWiAI6CfOVdZbivQcjR+5lbdazllUN6szryap6bPXH IMnxv8bdZT8fdFJvjK5lxhG+0YadpEMZaPHEi31J31BVZ9f8T/FnzheyGfi52rFL /OZMOyAhWyJqFGBjQW+g32rh+UxJ4yqCkwmQqj4oKgjuKFyjZaK3OxEwUI7phT9R HgznkK9VzCY4xF9mOGpXRZBcIqIn4t6GDIzkAXumz0r0LlCpYS37hfOLT72cmYWP mtbhmxFrLyWHh6bwJrPJxJn+RD9EorJrz/jWVEdcdHvEgVd4etf7zv4cs19w== 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=fm2; t= 1775604644; x=1775691044; bh=KezkBnbcbz3HJEqWz2iZmLex4UJfwt9FuHD 47vyekHQ=; b=DzbliddEnNG13tmQ7KgHfSRfWgNguHdytP8h1Sb9xBMMdfwzWM3 Cu18E+X/KaX3KKV3idkU3S+E8fcc5PmfGxAUQjV3zwjnKSLc+RpXm7wuHwELRR7N Wn+dYRF8PeTNcHcsuW/RR1RQ4cSJZLoYRKysBDVOThpmjGgaC/XsyW2GE7R3bEN1 b7nrVj4ArZo02lnbnXvWBboeQEQiwt81S3tC7nbpNgOD5KKW2mZcflh04qPsGUvm 1LF+ZyYkAZQkCTVNtli4aM6R6ULazFcShiQdSq7tyFogjX60r6cV4xCydVNI9Fde EzpfEtkZRtTdpl8jcjeYNTD//BhK5sYztfQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddvvddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdefhedmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeejffeuiefflefgveeikeeifeejgfel jeegtdfgffetgfeijeejtdejffefhfekheenucffohhmrghinheptghpuhhtuhgsvgdroh hrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehm ihgthhgrvghlsehprghquhhivghrrdighiiipdhnsggprhgtphhtthhopeehpdhmohguvg epshhmthhpohhuthdprhgtphhtthhopegsvghrthhrrghnuggurhhouhhvohhtrdhpghes ghhmrghilhdrtghomhdprhgtphhtthhopegrnhgurhgvshesrghnrghrrgiivghlrdguvg dprhgtphhtthhopehpghhsqhhlsehjqdgurghvihhsrdgtohhmpdhrtghpthhtohephhht rghmfhhiughssehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvg hrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 Apr 2026 19:30:42 -0400 (EDT) Date: Wed, 8 Apr 2026 08:30:36 +0900 From: Michael Paquier To: Bertrand Drouvot Cc: Andres Freund , Jeff Davis , Greg Sabino Mullane , pgsql-hackers@lists.postgresql.org Subject: Re: Adding locks statistics Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kdYBrQRryCj9v2Zq" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --kdYBrQRryCj9v2Zq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 07, 2026 at 06:01:08AM +0000, Bertrand Drouvot wrote: > That looks to work, thanks! But I was wondering if this new version is not > introducing a new race: the injection point is not local anymore so it co= uld be > that another process reach the new injection point. That said, even if th= is is > the case I think we're ok since s2 is using "query_until" so we could say= that > "at least" s2 reached the injection point. The new version does not ensur= e that > "only" s2 reached the injection point but I think that's safe. Yes, the lookups based on pg_stat_activity should be enough, I hope. =46rom what I can see, the buildfarm is silent this morning for this test, as much as [1] in the CI, so I'd like to think that we are done here. Again, I'm hoping so. [1]: https://cfbot.cputube.org/highlights/all.html -- Michael --kdYBrQRryCj9v2Zq Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmnVk5wACgkQnvQgOdby QH1LaRAAmqubnt0LyzzyzjOrnpJuw869pp4Inn79tffbVsBh5qLSYIo3tn/PnXYd 6zXAbEVsNIa1c0G9D6wYYblahDW+AsnKCwUFIyJbXrSg8WVwpV7AInTTmIAtpg37 srdf8URfz7Fg/qSlHQQ7A+E1byffY8pi7k7Xsz6geWCaY+tD5GNx63yQ9q0GxdW+ 0G5RVP2gSGeX6x3lfFeD7pu2ubsqUM+NeY882Cnfwm3VrJbtItqhgfgbug2o184x a2HFDA2CxaBUYw7LLRih6m73sbuZhlLZg5474hbhUu18MHI9rvE6CFDW1u9zrYJN AvdDntnO1DM5EJxe7Yellgi+LeY7sPV8AJukUpjHPSTXlkGdlmWcr3lp42PK6ysD FZktwOGygX4kZ4l+yp2Hj2mhTqHTgodJ81Yyl2qmlTmFY+fsodAkOjp4UH3D0VAB oOrufnkbqY7OwNbq+b2j0MTVdauQ6wLxWKFCtVzNlYxS26aW2ovG2J1aiVxXokcl tNZGP2jS9+EWOYZSoFYffRQHw4Y29rZZB3MXlOrklH3gm7xA1Wb4Xtt3Xu8yn/lJ USJFBWpMP6LSbVe5yaXiFmBsAkYNQyety2GF51S7UTdvfcO7AN4bulJh0UKbnHUe /7vy4zVJUGcF/+xBLfOs5NkyhHrLDyE1Quwc1CwVNnL/VMgq0EU= =/6Sq -----END PGP SIGNATURE----- --kdYBrQRryCj9v2Zq--