Re: [HACKERS] The number of bytes is stored in index_size of pgstatindex() ?

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: 大塚憲司 <otsuka(dot)kenji(at)nttcom(dot)co(dot)jp>, pgsql-docs(at)postgresql(dot)org, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] The number of bytes is stored in index_size of pgstatindex() ?
Date: 2016-02-18 17:50:20
Message-ID: CAM3SWZQtQ2WDGRqa2g_dbfHuu9CebfWvJ_XpXggFoFG1mUYzXw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

On Thu, Feb 18, 2016 at 9:40 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I think this is a bug and we ought to fix the code to include the
> metapage in the reported index_size. Thoughts?

I tend to agree, but I think you should note that specifically in the
documentation. I'm in favor of tools like pgstattuple and pageinspect
going into this kind of detail in their documentation generally.

--
Peter Geoghegan

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2016-02-18 18:01:10 Re: [HACKERS] The number of bytes is stored in index_size of pgstatindex() ?
Previous Message Tom Lane 2016-02-18 17:40:48 Re: The number of bytes is stored in index_size of pgstatindex() ?

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-02-18 18:01:10 Re: [HACKERS] The number of bytes is stored in index_size of pgstatindex() ?
Previous Message Tom Lane 2016-02-18 17:40:48 Re: The number of bytes is stored in index_size of pgstatindex() ?