pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitriy Igrishin <dmitigr@gmail.com>
To: postgres list <pgsql-sql@postgresql.org>
Subject: Selecting names of indexes that are not dependent on constraints.
Date: Thu, 11 Mar 2010 18:15:56 +0300
Message-ID: <b4399d111003110715h1415e094paaf0d5e5e0ada46@mail.gmail.com> (raw)

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

view thread (3+ messages)  latest in thread

Message-ID: <b4399d111003110715h1415e094paaf0d5e5e0ada46@mail.gmail.com>
Permalink:  ../b4399d111003110715h1415e094paaf0d5e5e0ada46@mail.gmail.com/
Also on:    postgresql.org/message-id/b4399d111003110715h1415e094paaf0d5e5e0ada46@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dmitigr@gmail.com
  Subject: Re: Selecting names of indexes that are not dependent on constraints.
  In-Reply-To: <b4399d111003110715h1415e094paaf0d5e5e0ada46@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox