public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Igor Korot <[email protected]>
Cc: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: Get info about the index
Date: Sat, 26 Jul 2025 08:12:47 -0700
Message-ID: <CAKFQuwYh3Tn7a6umxQ-Pgper=Z9GrTCrvMXqJP5o2ggHtw=BDw@mail.gmail.com> (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 Sat, Jul 26, 2025, 08:00 Igor Korot <[email protected]> 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.
>

Follow the foreign keys.

All useful info does get parsed out into columns somewhere.  The system
doesn't parse a create index command everytime it needs to inspect the
properties of the index.

David J.


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: <CAKFQuwYh3Tn7a6umxQ-Pgper=Z9GrTCrvMXqJP5o2ggHtw=BDw@mail.gmail.com>

* 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