51.73. pg_indexes

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

Table 51.74. pg_indexes Columns

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)