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 1nC2KG-00011e-Os for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Jan 2022 16:36:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nC2KF-0006Hx-Cm for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Jan 2022 16:36:15 +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 1nC2KF-0006Ho-4P for pgsql-hackers@lists.postgresql.org; Mon, 24 Jan 2022 16:36:15 +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 1nC2KB-0001KD-PN for pgsql-hackers@lists.postgresql.org; Mon, 24 Jan 2022 16:36:14 +0000 Received: from [192.168.11.9] (p2019072-ipbf2307funabasi.chiba.ocn.ne.jp [122.30.130.72]) by oss.nttdata.com (Postfix) with ESMTPSA id C096660854; Tue, 25 Jan 2022 01:36:07 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.5 at oss.nttdata.com Message-ID: <850fa46c-73b8-47cb-901a-090ef036a741@oss.nttdata.com> Date: Tue, 25 Jan 2022 01:36:07 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Printing backtrace of postgres processes Content-Language: en-US To: torikoshia , Bharath Rupireddy Cc: PostgreSQL Hackers References: <20211115194251.GP17618@telsasoft.com> <20211118162243.GL17618@telsasoft.com> <86eb364537bb48458265c1a0d2fce7f6@oss.nttdata.com> From: Fujii Masao In-Reply-To: <86eb364537bb48458265c1a0d2fce7f6@oss.nttdata.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022/01/24 16:35, torikoshia wrote: > On 2022-01-14 19:48, Bharath Rupireddy wrote: >> On Sat, Nov 20, 2021 at 11:50 AM Bharath Rupireddy >> wrote: >>> >>> On Fri, Nov 19, 2021 at 4:07 PM vignesh C wrote: >>> > The Attached v15 patch has the fixes for the same. >>> >>> Thanks. The v15 patch LGTM and the cf bot is happy hence marking it as RfC. >> >> The patch was not applying because of the recent commit [1]. I took >> this opportunity and tried a bunch of things without modifying the >> core logic of the pg_log_backtrace feature that Vignesh has worked on. I have one question about this feature. When the PID of auxiliary process like archiver is specified, probably the function always reports the same result, doesn't it? Because, for example, the archiver always logs its backtrace in HandlePgArchInterrupts(). Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION