select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / SYSTEM VIEWS

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

Kind
System views
Columns in this snapshot
5
Definition source
English manual

Columns 5

ColumnTypeDescription / reference
schemanamenameName of schema containing table and index
pg_namespace.nspname
tablenamenameName of table the index is for
pg_class.relname
indexnamenameName of index
pg_class.relname
tablespacenameName of tablespace containing index (null if default for database)
pg_tablespace.spcname
indexdeftextIndex definition (a reconstructed CREATE INDEX command)
Column history across versions

Definition snapshot: english-manuals:9bc794a46e1126b3d088cc09de3… · English manual source