SYSTEM CATALOGS / SYSTEM VIEWS
pg_indexes
Read PG 18 manual ↗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
| Column | Type | Description / reference |
|---|---|---|
schemaname | name | Name of schema containing table and index pg_namespace.nspname |
tablename | name | Name of table the index is for pg_class.relname |
indexname | name | Name of index pg_class.relname |
tablespace | name | Name of tablespace containing index (null if default for database) pg_tablespace.spcname |
indexdef | text | Index definition (a reconstructed CREATE INDEX command) |
Column history across versions
Definition snapshot: english-manuals:9bc794a46e1126b3d088cc09de3… · English manual source