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 1jYtzf-0000GT-2R for pgsql-docs@arkaria.postgresql.org; Wed, 13 May 2020 16:12:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYtzd-0004Q1-QF for pgsql-docs@arkaria.postgresql.org; Wed, 13 May 2020 16:12:25 +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 1jYtzd-0004Pt-Ks for pgsql-docs@lists.postgresql.org; Wed, 13 May 2020 16:12:25 +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 1jYtzb-00059h-Ja for pgsql-docs@postgresql.org; Wed, 13 May 2020 16:12:24 +0000 Received: from hnk.local (p2358024-ipbf2221funabasi.chiba.ocn.ne.jp [114.177.56.24]) by oss.nttdata.com (Postfix) with ESMTPSA id 7987360345; Thu, 14 May 2020 01:12:21 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at oss.nttdata.com Subject: Re: The order of columns about WAL activity in pg_stat_statements To: Tom Lane Cc: pgsql-docs@postgresql.org References: <2961.1589384501@sss.pgh.pa.us> From: Fujii Masao Message-ID: <6a2cca46-d3c0-265a-9c63-7814e4b3549b@oss.nttdata.com> Date: Thu, 14 May 2020 01:12:21 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <2961.1589384501@sss.pgh.pa.us> 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/05/14 0:41, Tom Lane wrote: > Fujii Masao writes: >> In pg_stat_statements docs, the columns about WAL activity are put >> in the table in the order of wal_bytes, wal_records and wal_fpi. But >> in the definition of pg_stat_statements view, wal_bytes is put last. >> So I think that it's better to reorder those columns in a consistent >> with the view definition. Patch attached. Thought? > > I already fixed this in my pending patch to restructure the catalog > docs [1]. Sounds nice. Thanks! Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION