48.59. pg_indexes

Представление pg_indexes даёт доступ к полезной информации обо всех индексах в базе данных.

Таблица 48-60. Колонки pg_indexes

ИмяТипСсылкиОписание
schemanamenamepg_namespace.nspnameИмя схемы, содержащей таблицу и индекс
tablenamenamepg_class.relnameИмя таблицы, для которой создан индекс
indexnamenamepg_class.relnameИмя индекса
tablespacenamepg_tablespace.spcnameИмя табличного пространства, содержащего индекс (NULL, если это пространство по умолчанию)
indexdeftext Определение индекса (реконструированная команда CREATE INDEX)

48.59. pg_indexes

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

Table 48-60. 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
tablespacenamepg_tablespace.spcnameName of tablespace containing index (null if default for database)
indexdeftext Index definition (a reconstructed CREATE INDEX command)
FAQ