## 52.73. `pg_indexes`

[]()

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

**Table 52.74. `pg_indexes` Columns**

|                                                                  Column Type<br/><br/> Description                                                                  |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|             `schemaname` `name` (references [`pg_namespace`](catalog-pg-namespace.html).`nspname`)<br/><br/> Name of schema containing table and index              |
|                       `tablename` `name` (references [`pg_class`](catalog-pg-class.html).`relname`)<br/><br/> Name of table the index is for                        |
|                                `indexname` `name` (references [`pg_class`](catalog-pg-class.html).`relname`)<br/><br/> Name of index                                |
|`tablespace` `name` (references [`pg_tablespace`](catalog-pg-tablespace.html).`spcname`)<br/><br/> Name of tablespace containing index (null if default for database)|
|                             `indexdef` `text`<br/><br/> Index definition (a reconstructed [CREATE INDEX](sql-createindex.html) command)                             |

