35.24. enabled_roles

Представление enabled_roles описывает «доступные роли». Список доступных ролей рекурсивно определяется как роль текущего пользователя плюс роли, данные доступным ролям, с автоматическим наследованием. Другими словами, это роли, которые даны текущему пользователю непосредственно или косвенно, посредством автоматического наследования.

Для проверки разрешений применяется набор «применимых ролей», который может быть шире набора доступных ролей. Поэтому в общем случае вместо этого представления лучше использовать представление applicable_roles (оно описывается в Разделе 35.5).

Таблица 35.22. Столбцы enabled_roles

ИмяТип данныхОписание
role_namesql_identifierИмя целевой роли

50.50. pg_ts_config

The pg_ts_config catalog contains entries representing text search configurations. A configuration specifies a particular text search parser and a list of dictionaries to use for each of the parser's output token types. The parser is shown in the pg_ts_config entry, but the token-to-dictionary mapping is defined by subsidiary entries in pg_ts_config_map.

Postgres Pro's text search features are described at length in Chapter 12.

Table 50.50. pg_ts_config Columns

NameTypeReferencesDescription
oidoid Row identifier (hidden attribute; must be explicitly selected)
cfgnamename Text search configuration name
cfgnamespaceoidpg_namespace.oid The OID of the namespace that contains this configuration
cfgowneroidpg_authid.oidOwner of the configuration
cfgparseroidpg_ts_parser.oidThe OID of the text search parser for this configuration