44.45. pg_indexes

The view pg_indexes provides access to useful information about each index in the database.

Table 44-45. pg_indexes Columns

NameTypeReferencesDescription
schemanamenamepg_namespace.nspnameName of schema containing table and index
tablenamenamepg_class.relnameName of table the index is for
indexnamenamepg_class.relnameName of index
tablespacenamepg_tablespace.spcnameName of tablespace containing index (NULL if default for database)
indexdeftext Index definition (a reconstructed CREATE INDEX command)

copyright  ©  November 23 2008 sean dreilinger url: http://durak.org/sean/pubs/software/postgresql/view-pg-indexes.html