Re: How can I know whether an index already exists

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: How can I know whether an index already exists
Дата
Msg-id 4C21AA73.6090403@hogranch.com
обсуждение исходный текст
Ответ на How can I know whether an index already exists  ("kaifeng.zhu" <cafeeee@gmail.com>)
Список pgsql-general
On 06/22/10 11:16 PM, kaifeng.zhu wrote:
> Hi there,
> How can I know whether an index already exists?
> I have googled for hours and cannot found the solution...
>

query this table,

http://www.postgresql.org/docs/current/static/catalog-pg-class.html

possibly joined with...

http://www.postgresql.org/docs/current/static/catalog-pg-index.html



or query this view,
http://www.postgresql.org/docs/current/static/view-pg-indexes.html

those are all in the pg_catalog schema, which is shared by all databases

В списке pgsql-general по дате отправления:

Предыдущее
От: Sergey Konoplev
Дата:
Сообщение: Re: How can I know whether an index already exists
Следующее
От: Ravi Katkar
Дата:
Сообщение: disable password prompt - command line