agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: basti <mailinglist@unix-solution.de>
To: pgsql-sql@postgresql.org
Subject: List all Indexes of a schema or database in CREATE syntax
Date: Fri, 31 Jan 2014 16:18:09 +0100
Message-ID: <52EBBEB1.5050808@unix-solution.de> (raw)
In-Reply-To: <52EBB642.5080804@unix-solution.de>
References: <52EBB642.5080804@unix-solution.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

Hello,

Is there a way to List all indexes of a schema or a database in CREATE
syntax?

example for postgres database:


Tablename	Indexname			CREATE_syntax

pg_amop		pg_amop_fam_strat_index		CREATE UNIQUE ...
pg_amop		pg_amop_opr_fam_index		CREATE UNIQUE ...
pg_attribute	pg_attribute_relid_attnam_index CREATE UNIQUE ...

Regards,
Basti




-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (2+ messages)  latest in thread

Message-ID: <52EBBEB1.5050808@unix-solution.de>
Permalink:  ../52EBBEB1.5050808@unix-solution.de/
Also on:    postgresql.org/message-id/52EBBEB1.5050808@unix-solution.de

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: mailinglist@unix-solution.de
  Subject: Re: List all Indexes of a schema or database in CREATE syntax
  In-Reply-To: <52EBBEB1.5050808@unix-solution.de>

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

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