50.72. pg_indexes

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

Table 50.73. pg_indexes Columns

Column Type

Description

schemanamename (references pg_namespace.nspname)

Name of schema containing table and index

tablenamename (references pg_class.relname)

Name of table the index is for

indexnamename (references pg_class.relname)

Name of index

tablespacename (references pg_tablespace.spcname)

Name of tablespace containing index (null if default for database)

indexdeftext

Index definition (a reconstructed CREATE INDEX command)


close