[HACKERS] Extracting GiST index structure stats? - Mailing list pgsql-hackers

From Thomas Mercieca
Subject [HACKERS] Extracting GiST index structure stats?
Date
Msg-id DB6PR0701MB2566FF176B3A34D51BCC9B28A6040@DB6PR0701MB2566.eurprd07.prod.outlook.com
Whole thread Raw
Responses Re: [HACKERS] Extracting GiST index structure stats?  (Arthur Zakirov <a.zakirov@postgrespro.ru>)
List pgsql-hackers

Hi all, I am interested in getting simple statistics of a GiST index structure. For example, height of tree


It seems that the other indexes have a metapage for this. I am still unsure but it looks to me like the GiST access method internal does not work exactly in this way so it is a bit more complicated to extract this data. Is this correct? If I wanted to extract this kind of stat (back to the height of tree example) what would be the right approach? Thanks a lot.


Regards,

Thomas

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Minor typo in partition.c
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] OK, so culicidae is *still* broken