Re: show index from [table]

Поиск
Список
Период
Сортировка
От Ireneusz Pluta
Тема Re: show index from [table]
Дата
Msg-id 4669AA77.1040503@wp.pl
обсуждение исходный текст
Ответ на Re: show index from [table]  (Andreas Kretschmer <akretschmer@spamfence.net>)
Список 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 по дате отправления:

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: show index from [table]
Следующее
От: chester c young
Дата:
Сообщение: search path within trigger