Re: PostgreSQL 8.3 index page count clarification

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>, Srinivas Karthik V <skarthikv(dot)iitb(at)gmail(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PostgreSQL 8.3 index page count clarification
Date: 2015-06-02 00:35:39
Message-ID: 556CFA5B.8070402@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 5/26/15 7:55 AM, Andrew Dunstan wrote:
> On 05/26/2015 08:45 AM, Srinivas Karthik V wrote:
>> For the user created indexes in PostgreSQL 8.3.6, I would like
>> to know which file or function populates the index data structure.
>> Specifically, where in the code is index->tuples and index->pages
>> values are fetched and updated.
>
> 8.3 is long out of support. Please move to a modern supported version of
> PostgreSQL.

If that's not an option your best bet is looking for where that data
structure is used in code, either via grep or something like
http://doxygen.postgresql.org/index.html (that doesn't appear to support
anything but HEAD, but I know there's other sites out there that provide
similar tools for our code.)
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Data in Trouble? Get it in Treble! http://BlueTreble.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2015-06-02 02:35:25 Minor issue with BRIN regression tests
Previous Message Josh Berkus 2015-06-01 23:48:04 Re: pg_xlog -> pg_xjournal?