Re: Get info about the index

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Igor Korot <ikorot01(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Get info about the index
Date: 2025-07-26 15:19:00
Message-ID: 2346254.1753543140@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> writes:
> On 7/26/25 08:00, Igor Korot wrote:
>> Is there a better place to get the info about the index other than
>> https://www.postgresql.org/docs/current/view-pg-indexes.html

> 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.

pg_index is the real source of truth here.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jon Zeppieri 2025-07-26 15:43:09 Re: Possible causes of high_replay lag, given replication settings?
Previous Message Adrian Klaver 2025-07-26 15:15:11 Re: Get info about the index