Re: show index from [table] - Mailing list pgsql-sql

From Ireneusz Pluta
Subject Re: show index from [table]
Date
Msg-id 4669AA77.1040503@wp.pl
Whole thread Raw
In response to Re: show index from [table]  (Andreas Kretschmer <akretschmer@spamfence.net>)
List pgsql-sql
Andreas Kretschmer napisał(a):
>
> Yes, right.
>
>   
>> but actually i would need the information from within a (postgres)
>> sql-query. is there a possibility to get information about the indices
>> which have been created on a table?
>>     
>
> Yes, of corse. Please start psql with the -E - option. Now you can see
> the underlying sql-statement for commands like \di.
>
>
>   
... or even better:
select * from pg_indexes where tablename = 'your_table';



pgsql-sql by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: show index from [table]
Next
From: chester c young
Date:
Subject: search path within trigger