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 1qoaAd-001vn1-9A for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Oct 2023 02:02: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 1qoaAa-0026QF-V0 for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Oct 2023 02:02:25 +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 1qoaAa-0026Pz-Ld for pgsql-hackers@lists.postgresql.org; Fri, 06 Oct 2023 02:02:25 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qoaAY-000EuO-MA for pgsql-hackers@postgresql.org; Fri, 06 Oct 2023 02:02:24 +0000 Received: from oss.nttdata.com (localhost [127.0.0.1]) by oss.nttdata.com (Postfix) with ESMTPA id 4BC28617D1; Fri, 6 Oct 2023 11:02:18 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at oss.nttdata.com MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 06 Oct 2023 11:02:18 +0900 From: Masahiro Ikeda To: Michael Paquier Cc: pgsql-hackers Subject: Re: Rethink the wait event names for postgres_fdw, dblink and etc In-Reply-To: References: <197bce267fa691a0ac62c86c4ab904c4@oss.nttdata.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <14e71b783fac9a39b7aee27f84fde494@oss.nttdata.com> X-Sender: ikedamsh@oss.nttdata.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-10-05 10:28, Michael Paquier wrote: > 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(). Thanks for modifying and committing. I agree your comments. Regards, -- Masahiro Ikeda NTT DATA CORPORATION