Re: 7.4's INFORMATION_SCHEMA.Columns View - Mailing list pgsql-general

From Tom Lane
Subject Re: 7.4's INFORMATION_SCHEMA.Columns View
Date
Msg-id 5643.1087607905@sss.pgh.pa.us
Whole thread Raw
In response to Re: 7.4's INFORMATION_SCHEMA.Columns View  (mike.griffin@mygenerationsoftware.com)
List pgsql-general
mike.griffin@mygenerationsoftware.com writes:
> I noticed that there is no INFORMATION_SCHEMA.Indexes ?  isn't there
> supposed to be one.

Nope.  Indexes are not a concept used in the SQL spec at all (they
consider 'em an implementation detail), so they'd hardly want to
standardize a view to describe 'em.

You can look at the constraints views to find out about unique and
primary key constraints, which are implemented by indexes in PG.
But that won't tell you about indexes made by CREATE INDEX.

            regards, tom lane

pgsql-general by date:

Previous
From: mike.griffin@mygenerationsoftware.com
Date:
Subject: Re: 7.4's INFORMATION_SCHEMA.Columns View
Next
From: Tom Lane
Date:
Subject: Re: 7.4's INFORMATION_SCHEMA.Columns View