Re: Postgres version of all_ind_cols

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Postgres version of all_ind_cols
Date: 2008-11-11 14:04:36
Message-ID: 20081111140436.GA15480@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

am Tue, dem 11.11.2008, um 14:57:20 +0100 mailte Bart van Houdt folgendes:
> Hi all,

Please, don't hijack other threads.

>
> This might be a stupid question, but I wasn't able to find any information on it, so here it goes:
> Oracle knows a view which contains information about indexed columns (all_ind_cols), is there something similar available in Postgres?
>
> I want to be able to create an full overview of each column with the following information:
> - index name
> - table name the index is on
> - column name the index is on
> - column position in the index
> - sort order
>
> Any help would be much appreciated :)

Take a look at:
http://www.postgresql.org/docs/current/interactive/catalog-pg-index.html

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Helio Campos Mello de Andrade 2008-11-12 22:14:09 Invitation to connect on LinkedIn
Previous Message Bart van Houdt 2008-11-11 14:04:26 Re: Postgres version of all_ind_cols