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 1qoDAS-000W0f-5b for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Oct 2023 01:28:44 +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 1qoDAP-007OUD-ST for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Oct 2023 01:28:42 +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.94.2) (envelope-from ) id 1qoDAO-007OTX-B4 for pgsql-hackers@lists.postgresql.org; Thu, 05 Oct 2023 01:28:42 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qoDAL-0004SE-HN for pgsql-hackers@postgresql.org; Thu, 05 Oct 2023 01:28:39 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 9C5CD5C037A; Wed, 4 Oct 2023 21:28:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 04 Oct 2023 21:28:35 -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:sender :subject:subject:to:to; s=fm2; t=1696469315; x=1696555715; bh=B+ kjcLpT9GqHpdlV0kFxdDxdbmmnOAiP9LhfikCDaW4=; b=qoxi203LpjyHZk0pcd M7hOqt8htOCt4RqMDiynATTU8BwNTYzNo6VpN4XdcdvNNsOkcxR6X2dbRAn351dy a725HJWWLirsuM5LlsFrCTEDpodz/OfsI/tWUwjU0FzhJ1doM3yz6WrKPhpmY6gP 7is/7memIEiyon3EQnaGhccwaEMcUYQCXo3VD1uDY9jCgwLQd3EpNL7eKG8GhELN YjVsTWq2a6kNXQ8/AlLX6Vj4mgiaPndlVr56Vh75zokwpXryh8+mxuH2mY6xNv8a L5AlUg+kpRj/D5ecmueXvLStMAuQA67bOE+IU+HBfwPD1mO3LkOtb6u2lgFG19Wi 4I9w== 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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1696469315; x=1696555715; bh=B+kjcLpT9GqHp dlV0kFxdDxdbmmnOAiP9LhfikCDaW4=; b=B1SwIap3adfs4jQEr4FvnoQgXiLXV AC6JlyDR9ySJ9kllJtmyQuiPnxKhPbqYTSSZUi9sURk2ewTZjvNf0KwkMc5DM8Mr Sclj4FwIyVxU/fCPU6RUY3PTiPvMWkj6qCZvNBhIAcT91fKfNhHL+2/Ltvjhwiba Vv/DwSwRrkSgtTWPkyrSLrYEe+WV49vI1dZ0XptCK49KmlxSSqsI50BBywN5ysVe RERaAWe2gLo7eCNy0R6pR2DdtUhTX6lusPlxtoSUJFUtfwecdYUCGw77wo4hEZAL ukROgY+4Zu8BgQdnDOB7j+jqMgw7Xbkw812XYiV3LrmmrVaxrRofBvlzA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrgeefgdegiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeg geffhfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 4 Oct 2023 21:28:33 -0400 (EDT) Date: Thu, 5 Oct 2023 10:28:29 +0900 From: Michael Paquier To: Masahiro Ikeda Cc: pgsql-hackers Subject: Re: Rethink the wait event names for postgres_fdw, dblink and etc Message-ID: References: <197bce267fa691a0ac62c86c4ab904c4@oss.nttdata.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Uuir9CwkWBAVBdbQ" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Uuir9CwkWBAVBdbQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 04, 2023 at 05:19:40PM +0900, Michael Paquier wrote: > I am lacking a bit of time now, but I have applied the bits for > test_shm_mq and worker_spi. Note that I have not added tests for > test_shm_mq as it may be possible that the two events (for the > bgworker startup and for a message to be queued) are never reached > depending on the timing. I'll handle the rest tomorrow, with likely > some adjustments to the tests. (I may as well just remove them, this > API is already covered by worker_spi.) After sleeping on it, I've taken the decision to remove the tests. As far as I have tested, this was stable, but this does not really improve the test coverage as WaitEventExtensionNew() is covered in worker_spi. I have done tweaks to the docs and the variable names, and applied that into its own commit. Note as well that the docs of dblink were wrong for DblinkGetConnect: the wait event could be seen in other functions than dblink() and dblink_exec(). -- Michael --Uuir9CwkWBAVBdbQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmUeET0ACgkQnvQgOdby QH1tlRAAkidKm3iN93I0E26kP4LfFLiMyrFrL/NSJEKkEiOIX8M3/tXsFZ1dLltr Aot2p3reQX2IpcsLi+43dx32e4pM7Irszn1Rn+VQQJwT0AVITgudKjZVuHg77ZVm 60VJ7sBLuFfGX+2vAm+9mKY1gvXEjPGYNAuq1gGPnmRJyV5fkxFKqV27zMYYLF+D Bo0l5h+qo4jpgJj4OoaP3bV0ke/m0dxVrGSlLJqKJxYkj6/BLVXcok7665XWDmBk kl3kVgXfkR0jCX8c6g1W5AuWsktk3o+ZLe2Y9k0zdyw74WTnZzCmVKY6H/qgp31p A1CG/T5cr1jJm1xSiOqcg7niRRru9jwyfrKNdbsGzA5XNNlsgWkHQ6Mc54o/ftA/ 9Mx5qN7IzkMykrslRvDFW6HL5YUO/3402/BWXQtBZwpRQ/lFNGMfXQ77mCsCCrnF CWS3j5U1OuDaMyiBuGEufe/LPRCjTbaVLxhSY8M2lK4N0T9B7R19/XY5cOkbwR0V x/+ZW1UjY5bJLqHb3/qhfy7F60Yye+xtYPDqkGZkEKMUg4Bi64/s67/Arlzhekmc 1wqieE9m30TlgWkYsqJ1kdxHUAOla8yUKSXlx71BGjXi+pnkknw1PxdMWHsu3idM T8J9DY3qSU70XH8Di7+CRbrR/mVO1Cc61ksWO1TCxZqSGIG3zGo= =2kNT -----END PGP SIGNATURE----- --Uuir9CwkWBAVBdbQ--