public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Igor Korot <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: Get info about the index
Date: Sat, 26 Jul 2025 08:15:11 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+FnnTw2ouEQKSKzQ_SNo8efWE8wEqjr9Ux-F-wbR+y=Pn6bGg@mail.gmail.com>
References: <CA+FnnTw2ouEQKSKzQ_SNo8efWE8wEqjr9Ux-F-wbR+y=Pn6bGg@mail.gmail.com>

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
[email protected]






view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Get info about the index
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox