Re: Get info about indexes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: AlannY <m(at)alanny(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Get info about indexes
Date: 2008-03-17 15:22:19
Message-ID: 9999.1205767339@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

AlannY <m(at)alanny(dot)ru> writes:
> I need a method of extracting information about indexes of any table
> from information_schema.

There is nothing about indexes in the information_schema (this is not
a bug, it's an intentional decision by the standards committee).
If you want to know about indexes you'll need to look directly at the
system catalogs.

You can find out about unique/primary-key constraints from
information_schema, but that's not quite the same ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Erik Jones 2008-03-17 15:24:03 Re: shared memory/max_locks_per_transaction error
Previous Message sathiya psql 2008-03-17 15:18:14 postgresql performance tuning tools