Re: Get info about the index - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Get info about the index
Date
Msg-id 9feb6bc9-be97-4b2f-a945-379ccd8ef7d3@aklaver.com
Whole thread Raw
In response to Get info about the index  (Igor Korot <ikorot01@gmail.com>)
Responses Re: Get info about the index
List pgsql-general
On 7/26/25 08:00, Igor Korot wrote:
> Hi, ALL,
> Is there a better place to get the info about the index other than
> https://www.postgresql.org/docs/current/view-pg-indexes.html
> 
> That guy has a full blown CREATE INDEX command and I will need to
> parse it to get the info I need.

FYI,

pg_class:

https://www.postgresql.org/docs/current/catalog-pg-class.html

and pg_attribute:

https://www.postgresql.org/docs/current/catalog-pg-attribute.html

also have index information.

> 
> Thank you.
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Get info about the index
Next
From: Tom Lane
Date:
Subject: Re: Get info about the index