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 1k9AJf-00081e-03 for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Aug 2020 16:54:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k9AJ8-0002KL-GJ for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Aug 2020 16:54:26 +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 1k9AJ8-0002KE-95 for pgsql-hackers@lists.postgresql.org; Fri, 21 Aug 2020 16:54:26 +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 1k9AJ6-0007JI-2Q for pgsql-hackers@lists.postgresql.org; Fri, 21 Aug 2020 16:54:25 +0000 Received: from hnk.local (p12054-ipngn2901funabasi.chiba.ocn.ne.jp [153.212.171.54]) by oss.nttdata.com (Postfix) with ESMTPSA id E6AD7604E0; Sat, 22 Aug 2020 01:54:20 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at oss.nttdata.com Subject: Re: [PG13] Planning (time + buffers) data structure in explain plan (format text) From: Fujii Masao To: Tom Lane Cc: Pierre Giraud , pgsql-hackers@lists.postgresql.org, depesz@depesz.com, depesz@gmail.com References: <07b226e6-fa49-687f-b110-b7c37572f69e@dalibo.com> <20200819032706.GQ17022@telsasoft.com> <20200819072133.jnmtux7qbyxywh6r@nol> <20200819090429.s7hoyyw4a6jumgkc@nol> <5605ac79-90c0-6a5f-256d-5cabf52a3fe8@oss.nttdata.com> <0d074a53-fd91-b1dd-a529-173d07627465@oss.nttdata.com> <4e932e5e-8d86-4dcd-632e-f7c6e2c35a83@dalibo.com> <1803897.1598021621@sss.pgh.pa.us> Message-ID: <861aa8a0-82a0-3233-60fa-2c2c980e359e@oss.nttdata.com> Date: Sat, 22 Aug 2020 01:54:20 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020/08/22 1:04, Fujii Masao wrote: > > > On 2020/08/21 23:53, Tom Lane wrote: >> Fujii Masao writes: >>> Pushed. Thanks! >> >> Buildfarm shows this patch has got problems under >> -DRELCACHE_FORCE_RELEASE and/or -DCATCACHE_FORCE_RELEASE: >> >> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prion&dt=2020-08-21%2011%3A54%3A12 > > Thanks for the report! > > This happens because, in text format, whether "Planning:" line is output > varies depending on the system state. So explain_filter() should ignore > "Planning:" line. Patch attached. I'm now checking whether the patched > version works fine. I pushed the patch. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION