pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Masahiro Ikeda <ikedamsh@oss.nttdata.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Rethink the wait event names for postgres_fdw, dblink and etc
Date: Fri, 06 Oct 2023 11:02:18 +0900
Message-ID: <14e71b783fac9a39b7aee27f84fde494@oss.nttdata.com> (raw)
In-Reply-To: <ZR4RPXBA5AvrEfGu@paquier.xyz>
References: <197bce267fa691a0ac62c86c4ab904c4@oss.nttdata.com>
	<ZN79kznGqo7e6Ivn@paquier.xyz>
	<b6c00f40075040dcb71f38360a6f45d0@oss.nttdata.com>
	<ZR0gHNUR_oMVn8jx@paquier.xyz>
	<ZR4RPXBA5AvrEfGu@paquier.xyz>

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





view thread (6+ messages)

Message-ID: <14e71b783fac9a39b7aee27f84fde494@oss.nttdata.com>
Permalink:  ../14e71b783fac9a39b7aee27f84fde494@oss.nttdata.com/
Also on:    postgresql.org/message-id/14e71b783fac9a39b7aee27f84fde494@oss.nttdata.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: ikedamsh@oss.nttdata.com, michael@paquier.xyz
  Subject: Re: Rethink the wait event names for postgres_fdw, dblink and etc
  In-Reply-To: <14e71b783fac9a39b7aee27f84fde494@oss.nttdata.com>
  References: <197bce267fa691a0ac62c86c4ab904c4@oss.nttdata.com> <ZN79kznGqo7e6Ivn@paquier.xyz> <b6c00f40075040dcb71f38360a6f45d0@oss.nttdata.com> <ZR0gHNUR_oMVn8jx@paquier.xyz> <ZR4RPXBA5AvrEfGu@paquier.xyz> <14e71b783fac9a39b7aee27f84fde494@oss.nttdata.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox