Re: Location of index information

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jim Beckstrom <jrbeckstrom(at)sbcglobal(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Location of index information
Date: 2005-12-07 23:32:13
Message-ID: 4613.1133998333@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Jim Beckstrom <jrbeckstrom(at)sbcglobal(dot)net> writes:
> If the table names in a database are in pg_class.relname, where are the associated indexes, or where is this documented?

The indexes have their own entries in pg_class. The linkage between a
table and its indexes is made through entries in pg_index. See the
system catalogs documentation for your release:
http://www.postgresql.org/docs/8.1/static/catalogs.html
(adjust link as needed --- although the basic stuff tends to remain
the same across releases, sometimes the details change)

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Glaesemann 2005-12-07 23:34:17 Re: Location of index information
Previous Message Jim Beckstrom 2005-12-07 23:25:57 Location of index information