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 1qVhha-000zHm-I9 for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Aug 2023 00:14:26 +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 1qVhhY-008Nh4-IJ for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Aug 2023 00:14:24 +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 1qVhhY-008Ngw-8P for pgsql-hackers@lists.postgresql.org; Tue, 15 Aug 2023 00:14:24 +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 1qVhhU-000AN5-Al for pgsql-hackers@lists.postgresql.org; Tue, 15 Aug 2023 00:14:23 +0000 Received: from oss.nttdata.com (localhost [127.0.0.1]) by oss.nttdata.com (Postfix) with ESMTPA id BE843606AB; Tue, 15 Aug 2023 09:14:15 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at oss.nttdata.com MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 15 Aug 2023 09:14:15 +0900 From: Masahiro Ikeda To: Michael Paquier Cc: Andres Freund , Bharath Rupireddy , Tristan Partin , pgsql-hackers@lists.postgresql.org Subject: Re: Support to define custom wait events for extensions In-Reply-To: References: <20230809003710.qhys7nvwhdujd4pm@awork3.anarazel.de> <0850ea2f23217b3a87340dd2d721d051@oss.nttdata.com> <53dc58793eb3df17d2da8c2fc2275fac@oss.nttdata.com> <4f5e455cde9805dd81332d515376bc12@oss.nttdata.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: ikedamsh@oss.nttdata.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-08-14 18:26, Michael Paquier wrote: > On Mon, Aug 14, 2023 at 05:55:42PM +0900, Masahiro Ikeda wrote: >> I'm thinking a name like "contrib name + description summary" would >> be nice. The "contrib name" is namespace-like and the "description >> summary" >> is the same as the name of the waiting event name in core. For >> example, >> "DblinkConnect" for dblink. In the same as the core one, I thought the >> name >> should be the camel case. > > Or you could use something more in line with the other in-core wait > events formatted as camel-case, like DblinkConnect, etc. > >> BTW, is it better to discuss this in a new thread because other >> developers >> might be interested in user-facing wait event names? I also would like >> to >> add documentation on the wait events for each modules, as they are not >> mentioned >> now. > > Saying that, having some documentation on the page of each extension > is mandatory once these can be customized, in my opinion. All that > should be discussed on a new, separate thread, to attract the correct > audience. OK. I'll make a new patch and start a new thread. Regards, -- Masahiro Ikeda NTT DATA CORPORATION