39.62. user_mappings #

Представление user_mappings показывает все сопоставления пользователей, определённые в текущей базе данных. В нём показываются только сопоставления, установленные для сторонних серверов, к которым имеет доступ текущий пользователь (являясь владельцем или имея некоторые права).

Таблица 39.60. Столбцы user_mappings

Тип столбца

Описание

authorization_identifier sql_identifier

Имя сопоставляемого пользователя, либо PUBLIC, если это сопоставление для всех

foreign_server_catalog sql_identifier

Имя базы данных, в которой определён сторонний сервер, задействованный в сопоставлении (всегда текущая база)

foreign_server_name sql_identifier

Имя стороннего сервера, задействованного в сопоставлении


39.62. user_mappings #

The view user_mappings contains all user mappings defined in the current database. Only those user mappings are shown where the current user has access to the corresponding foreign server (by way of being the owner or having some privilege).

Table 39.60. user_mappings Columns

Column Type

Description

authorization_identifier sql_identifier

Name of the user being mapped, or PUBLIC if the mapping is public

foreign_server_catalog sql_identifier

Name of the database that the foreign server used by this mapping is defined in (always the current database)

foreign_server_name sql_identifier

Name of the foreign server used by this mapping


FAQ