Re: 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: Re: Selecting names of indexes that are not dependent on constraints.
Date: 2010-03-11 15:20:44
Message-ID: b4399d111003110720m4805d511pb468aefb0f3cd60c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Of course, I meant the indexes of which constraints do not depend. :)

2010/3/11 Dmitriy Igrishin <dmitigr(at)gmail(dot)com>

> 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
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2010-03-11 15:34:47 Re: Selecting names of indexes that are not dependent on constraints.
Previous Message Dmitriy Igrishin 2010-03-11 15:15:56 Selecting names of indexes that are not dependent on constraints.