From: | Igor Korot <ikorot01(at)gmail(dot)com> |
---|---|
To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
Cc: | "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 16:41:48 |
Message-ID: | CA+FnnTyKb0cLp9GF3YENoBZ4LVW3db_RSGR99BPFnA4BZtc8kQ@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Adrian,
On Sat, Jul 26, 2025 at 11:08 AM Adrian Klaver
<adrian(dot)klaver(at)aklaver(dot)com> wrote:
>
> 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
>
> What information do you need?
This is the command for creating the index:
https://www.postgresql.org/docs/current/sql-createindex.html.
I want to know all individual things:
- whether the index is unique.
- what type of index it is
- whether the field is ASC or DESC.
- all other individual arams
I don't want to parse the command since I'm sure I can query the DB
to get the info.
Thank you..
>
> >
> > That guy has a full blown CREATE INDEX command and I will need to
> > parse it to get the info I need.
> >
> > Thank you.
> >
> >
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Christophe Pettus | 2025-07-26 18:13:48 | Re: Get info about the index |
Previous Message | Jon Zeppieri | 2025-07-26 15:43:09 | Re: Possible causes of high_replay lag, given replication settings? |