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.94.2) (envelope-from ) id 1s2S3H-0037Jz-It for pgsql-hackers@arkaria.postgresql.org; Thu, 02 May 2024 08:44:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s2S3F-00Gi7v-0T for pgsql-hackers@arkaria.postgresql.org; Thu, 02 May 2024 08:44:25 +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.94.2) (envelope-from ) id 1s2S3D-00Gi7m-5R for pgsql-hackers@lists.postgresql.org; Thu, 02 May 2024 08:44:25 +0000 Received: from fout5-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.94.2) (envelope-from ) id 1s2S3A-00190M-2D for pgsql-hackers@postgresql.org; Thu, 02 May 2024 08:44:23 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id D22E31380372; Thu, 2 May 2024 04:44:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 02 May 2024 04:44:17 -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=fm3; t=1714639457; x=1714725857; bh=XlNMAihlsY M+vojxhYPLary1CXS+J3wg3C3WmwkaG3Q=; b=V7xLi/mPP7yXTQ0eAyJHh3NcXk h/swKEa2XzO+jVdgNZaNaUbTCxOl50PxJAt9PPFKYxbR2cwXQUxulV01hKmjXo/2 FqiXtI8NNxREu1EFpBZPJGkTRuf6M2TNuCIP8608uRjifK/HmstEjaDPBhe1gmYN T1gbTqNJMP7/MIYZGoupmt41QnwVhb4DgRaHmI+Akzor84XIwJATFUVKUMMyhnrY JNmwuofshBVbl35qucGS0clIYmsI24c4hCeu3Lv0/lxq8yIr8nJQlcr2cf/wd0sf BA5mKNClxtWoFG/A8cuV9uqR13KWFrzIi4tEcal6xpdVbl3M3I3tW8fxTwDg== 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-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1714639457; x=1714725857; bh=XlNMAihlsYM+vojxhYPLary1CXS+ J3wg3C3WmwkaG3Q=; b=YERbBB8ve6ZTMuaTGoOo23D/74wqZIqROQtm5NMg7A/X L+SCSXjSg0asfjCS68nLqV/oJ+l4DJjIEVbUH2Led0oFp+f/cpx7E8JPhmHjAyni p5DbaLZhuYa5wc6gPInvXp2q4LO7a9EFgwPS84DIYiMJEivXLFiG756sHScyvaDi JVKQ5Sr0RDyOWridTj3LmrcSnIcUthzK6yugoD57hwL8F9CzEQIJDOv19h20Rb2X B7i7EXD63S5Y+4gnK2VYOtXRZsyLQkuqWkPGcGEiPcJl4mqKTC57i/IhXYZ9RDZ4 64zbks1Nz5Fkzc0mRTERhM38svnuKv/sTKEAWxcq4Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddukedgtdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 May 2024 04:44:15 -0400 (EDT) Date: Thu, 2 May 2024 17:43:58 +0900 From: Michael Paquier To: "Andrey M. Borodin" Cc: Noah Misch , Heikki Linnakangas , Tom Lane , pgsql-hackers Subject: Re: Weird test mixup Message-ID: References: <10fd6cdd-c5d9-46fe-9fa1-7e661191309e@iki.fi> <2387221.1710454778@sss.pgh.pa.us> <2393552.1710458033@sss.pgh.pa.us> <20240501231214.40@rfd.leadboat.com> <99D1FBCA-6EA7-4BD0-922B-924A36D65183@yandex-team.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yNNr9mXnrP9/vrKm" Content-Disposition: inline In-Reply-To: <99D1FBCA-6EA7-4BD0-922B-924A36D65183@yandex-team.ru> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --yNNr9mXnrP9/vrKm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 02, 2024 at 01:33:45PM +0500, Andrey M. Borodin wrote: > That seems to prevent meaningful use case. If we want exactly one > session to be waiting just before some specific point, the only way > to achieve this is to create local injection point. But the session > must be resumable from another session. > Without this local waiting injection points are meaningless. I am not quite sure to follow your argument here. It is still possible to attach a local injection point with a wait callback that can be awaken by a different backend: s1: select injection_points_set_local(); s1: select injection_points_attach('popo', 'wait'); s1: select injection_points_run('popo'); -- waits s2: select injection_points_wakeup('popo'); s1: -- ready for action. A detach is not a wakeup. -- Michael --yNNr9mXnrP9/vrKm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmYzUk4ACgkQnvQgOdby QH1OkRAAguokfJugwSf/2WXT8e9N07Hn2peqGDBY6GSTy7FPWL/h/5SarPdLBdnU 3q9SIP1+x6O6dn31L0n3oRYL283YaJBCeKSLvkTQ+fVobCC2S3vguDz65IFL6HzC XKiME7VNEwosrUYslJQ6UGR4WT2K/pyAjJtLg+Z/KPHU+2KO4v6vBa36rHe0MTW1 BwBfgCABCCwGOgOwqFd86SZRFa6WX/pDbER4g9W+vHuaWfX+D4D7pFsF76UaxCLZ iV2aAshXPsz6FLiAblH9fm+zFUUSd7s7ntOHKftiUu2fsVF+K78OnXA9lVxpJz3K B3/jTZUOcZsM7s7TUxG8rPOJy1pYECeTDV+aORDnJUDfo+BXdnVRRREGlZ9pveZe jmrXt2GkKoyGd1NwEwOKI+OVSCivNWNxcAtz9BYpJPZNW4wJH5lyg/7JhMtIYnMo DuAw1crR2LAjz5Q87Rlg0TQVaFsbn02UgT6Q10cwUvzwBTqisZifnsQOmYC3ZmFS G6ZgKXXRaewKWg13Gj6Oa0dXQ9LDgguP65NIZ3oPRYJ/nH74cmdJWl/1tCV4in+9 He+6NDuqrSw9V+komAwJf2FyMFalGBn5Icd8RXlwyL5V65X/TeJ3EyBsr0Qc5cVk dKdWL1r2D/2TxJB2E7em/XPuz/S1FfF5gl5AU5iP6i1rFaw2zHM= =1i/L -----END PGP SIGNATURE----- --yNNr9mXnrP9/vrKm--