43.31. pg_indexes

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

Table 43-31. 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
indexdeftext index definition (a reconstructed creation command)
TNAME"