Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZnrR-0002sU-T3 for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Oct 2021 05:28:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mZnrP-0008MI-Nm for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Oct 2021 05:28:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZnrP-0008Jo-Fn for pgsql-hackers@lists.postgresql.org; Mon, 11 Oct 2021 05:28:27 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZnrL-00071G-I5 for pgsql-hackers@lists.postgresql.org; Mon, 11 Oct 2021 05:28:25 +0000 Received: from oss.nttdata.com (localhost [127.0.0.1]) by oss.nttdata.com (Postfix) with ESMTPA id 29BDC6060A; Mon, 11 Oct 2021 14:28:19 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.3 at oss.nttdata.com MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 11 Oct 2021 14:28:19 +0900 From: torikoshia To: bt21tanigaway@oss.nttdata.com Cc: Fujii Masao , Michael Paquier , Robert Haas , Tom Lane , PostgreSQL Hackers , Bharath Rupireddy Subject: Re: Fix pg_log_backend_memory_contexts() 's delay In-Reply-To: References: <0aae3e074face409b35153451be5cc11@oss.nttdata.com> <4055757.1633436879@sss.pgh.pa.us> <1accf2ba3912f3f59a60ef90b5411433@oss.nttdata.com> <52ff4115-961c-7803-635f-d27b8e9b9ee2@oss.nttdata.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: torikoshia@oss.nttdata.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thanks for the patch! It might be self-evident, but since there are comments on other process handlings in HandleAutoVacLauncherInterrupts like below, how about adding a comment for the consistency? /* Process barrier events */ if (ProcSignalBarrierPending) ProcessProcSignalBarrier(); /* Process sinval catchup interrupts that happened while sleeping */ ProcessCatchupInterrupt(); Regards, -- Atsushi Torikoshi NTT DATA CORPORATION