Re: 7.4's INFORMATION_SCHEMA.Columns View

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mike(dot)griffin(at)mygenerationsoftware(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 7.4's INFORMATION_SCHEMA.Columns View
Date: 2004-06-19 01:18:25
Message-ID: 5643.1087607905@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

mike(dot)griffin(at)mygenerationsoftware(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-06-19 01:30:13 Re: 7.4's INFORMATION_SCHEMA.Columns View
Previous Message mike.griffin 2004-06-19 01:11:23 Re: 7.4's INFORMATION_SCHEMA.Columns View