Re: how to find index columns - Mailing list pgsql-hackers

From Timasmith
Subject Re: how to find index columns
Date
Msg-id 1165372486.418627.102990@79g2000cws.googlegroups.com
Whole thread Raw
In response to Re: how to find index columns  (Andrew - Supernews <andrew+nonews@supernews.com>)
List pgsql-hackers
Andrew - Supernews wrote:
> On 2006-12-06, Timasmith <timasmith@hotmail.com> wrote:
> > While pg_catalog.pg_index has the create index script I otherwise cant
> > find the index columns in the information_schema.
>
> That's because there are no index columns in the information_schema.
> Indexes simply do not exist in SQL (they are merely an implementation
> detail) and therefore are not included in information_schema (which is
> defined by the SQL spec).
>
> --
> Andrew, Supernews
> http://www.supernews.com - individual and corporate NNTP services

So because it is not in the SQL spec you think that is a good reason
not to have indexes?

Or you think that we do not need that information in order to compare
to databases and create a DDL script to sync the two?



pgsql-hackers by date:

Previous
From: "Timasmith"
Date:
Subject: Re: how to find index columns
Next
From: Tom Lane
Date:
Subject: Re: psql return codes