Selecting names of indexes that are not dependent on constraints.

From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: postgres list <pgsql-sql(at)postgresql(dot)org>
Subject: Selecting names of indexes that are not dependent on constraints.
Date: 2010-03-11 15:15:56
Message-ID: b4399d111003110715h1415e094paaf0d5e5e0ada46@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hey all,

How can I select names of indexes of table (or even whole schema) that are
not dependent on constraints?

Unfortunately there is no way to select only "independent" indexes from
pg_indexes view.

How can I do it?

Regards,
Dmitriy Igrishin

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Dmitriy Igrishin 2010-03-11 15:20:44 Re: Selecting names of indexes that are not dependent on constraints.
Previous Message Ben Morrow 2010-03-11 11:46:48 Re: Help : insert a bytea data into new table