39.5. applicable_roles

Представление applicable_roles описывает все роли, права которых может использовать текущий пользователь. Это означает, что существует некоторая цепочка ролей от текущего пользователя к целевой роли. Роль самого пользователя также считается применимой. Набор применимых ролей обычно используется для проверки разрешений.

Таблица 39.3. Столбцы applicable_roles

Тип столбца

Описание

grantee sql_identifier

Имя роли, которой было разрешено участие в целевой роли (может быть текущий пользователь, либо другая роль, в случае вложенного членства)

role_name sql_identifier

Имя целевой роли

is_grantable yes_or_no

YES, если субъект является администратором для этой роли, или NO в противном случае


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