Re: Location of index information - Mailing list pgsql-novice

From Jaime Casanova
Subject Re: Location of index information
Date
Msg-id c2d9e70e0512080844l126c35ddl478e04d6d4263d67@mail.gmail.com
Whole thread Raw
In response to Re: Location of index information  (Jim Beckstrom <jrbeckstrom@sbcglobal.net>)
List pgsql-novice
On 12/7/05, Jim Beckstrom <jrbeckstrom@sbcglobal.net> wrote:
> Now that I have read the glossary for pg_index (thank you for the link),
> there wouldn't be a php function available to do the selection of all of the
> indexes for a table, would there?
>
> Jim
>

if you execute psql with the -E option when you do \d table you will
get all sql you need to retrieve the information it shows...

then, you can copy and paste that sql to your php script or make a
view as tom suggest...

but in general i guess   select * from pg_views is a good point to start

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Location of index information
Next
From: "Bhide, Rajan"
Date:
Subject: Compile/Link Error for Postgres 8.1.0 on Solaris 8