Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aWUKG-0007oH-C0 for pgsql-docs@arkaria.postgresql.org; Thu, 18 Feb 2016 19:33:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aWUKF-0003oi-8l for pgsql-docs@arkaria.postgresql.org; Thu, 18 Feb 2016 19:33:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aWUKD-0003ng-Uy; Thu, 18 Feb 2016 19:33:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aWUKB-0005Kp-8V; Thu, 18 Feb 2016 19:33:16 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u1IJXARZ012436; Thu, 18 Feb 2016 14:33:10 -0500 From: Tom Lane To: Peter Geoghegan cc: =?UTF-8?B?5aSn5aGa5oay5Y+4?= , pgsql-docs@postgresql.org, Pg Hackers Subject: Re: [HACKERS] The number of bytes is stored in index_size of pgstatindex() ? In-reply-to: References: <56C5B2C7.7010604@nttcom.co.jp> <31925.1455817248@sss.pgh.pa.us> <377.1455818470@sss.pgh.pa.us> <10922.1455821371@sss.pgh.pa.us> Comments: In-reply-to Peter Geoghegan message dated "Thu, 18 Feb 2016 11:10:55 -0800" Date: Thu, 18 Feb 2016 14:33:10 -0500 Message-ID: <12435.1455823990@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Peter Geoghegan writes: > On Thu, Feb 18, 2016 at 10:49 AM, Tom Lane wrote: >> Yeah, that seems a bit strange to me as well. Should we change it to >> count the root as an internal page, or is that going too far? > I think we should change it. It seems like a bug to me. Me too. Is it enough bug-like to be something to back-patch, or should we just change it in HEAD? regards, tom lane -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs