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)