Re: Get index information from information_schema? - Mailing list pgsql-general

From Dann Corbit
Subject Re: Get index information from information_schema?
Date
Msg-id D425483C2C5C9F49B5B7A41F8944154701000D11@postal.corporate.connx.com
Whole thread Raw
In response to Re: Get index information from information_schema?  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Responses Re: Get index information from information_schema?  (Erik Jones <erik@myemma.com>)
Re: Get index information from information_schema?  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
List pgsql-general
> -----Original Message-----
> From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-
> owner@postgresql.org] On Behalf Of Albe Laurenz
> Sent: Tuesday, March 18, 2008 1:24 AM
> To: AlannY *EXTERN*; pgsql-general@postgresql.org
> Subject: Re: [GENERAL] Get index information from information_schema?
>
> AlannY wrote:
> > I need a method of extracting information about indexes of any table
> > from information_schema.
> >
> > Have you any suggestions?
>
> I am afraid that indexes are not covered by information_schema.
>
> You'd have to dig into pg_catalog.pg_index for this.

Doesn't the PostgreSQL schema have the
INFORMATION_SCHEMA.KEY_COLUMN_USAGE view?

Or (conversely) are indexes not stored as constraints?

pgsql-general by date:

Previous
From: "Rodrigo E. De León Plicet"
Date:
Subject: Re: [HACKERS] Collating records based on a custom group by (aggregate like) function
Next
From: "Dawid Kuroczko"
Date:
Subject: Re: Feature request/suggestion - CREATE SCHEMA LIKE