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 1jMOMR-0008L6-Fk for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2020 04:00:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jMOMQ-0006Fq-Cg for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2020 04:00:14 +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 1jMOMQ-000651-5k for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2020 04:00:14 +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 1jMOML-0006S7-6e for pgsql-hackers@postgresql.org; Thu, 09 Apr 2020 04:00:11 +0000 Received: from hnk.local (p2421237-ipbf2725funabasi.chiba.ocn.ne.jp [122.24.33.237]) by oss.nttdata.com (Postfix) with ESMTPSA id 4094960585; Thu, 9 Apr 2020 13:00:04 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at oss.nttdata.com Subject: Re: Planning counters in pg_stat_statements (using pgss_store) To: legrand legrand , pgsql-hackers@postgresql.org References: <20200331060307.e7kypfynz7jous62@nol> <20200331073321.bhnx2p63gp5px37f@nol> <20200331184217.tf3x534uz4vusgmp@nol> <13923268-bad9-80f9-2542-5fd5e8b8c500@oss.nttdata.com> <1585857868967-0.post@n3.nabble.com> <20200403072628.GB95652@nol> <5c9e0ca4-c378-57aa-1b08-49c83a41d5ec@oss.nttdata.com> <1586349174047-0.post@n3.nabble.com> From: Fujii Masao Message-ID: <11032f50-104f-843b-715c-d83df9158aaf@oss.nttdata.com> Date: Thu, 9 Apr 2020 13:00:03 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <1586349174047-0.post@n3.nabble.com> 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/04/08 21:32, legrand legrand wrote: > Fujii Masao-4 wrote >> On 2020/04/03 16:26 >> [...] >>> >>> "Note that planning and execution statistics are updated only at their >>> respective end phase, and only for successful operations. >>> For example the execution counters of a long running query >>> will only be updated at the execution end, without showing any progress >>> report before that. >> >> Probably since this is not the example for explaining the relationship of >> planning and execution stats, it's better to explain this separately or >> just >> drop it? >> >> What about the attached patch based on your proposals? > > +1 > Your patch is perfect ;^> Thanks! Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION