| Документация по PostgreSQL 9.4.1 | |||
|---|---|---|---|
| Пред. | Уровень выше | Глава 34. Информационная схема | След. |
34.58. user_mapping_options
Представление user_mapping_options показывает все параметры, заданные для сопоставлений пользователей в текущей базе данных. В нём отражаются только сопоставления пользователей, установленные для сторонних серверов, к которым имеет доступ текущий пользователь (являясь владельцем или имея некоторые права).
Таблица 34-56. Колонки user_mapping_options
| Имя | Тип данных | Описание |
|---|---|---|
| authorization_identifier | sql_identifier | Имя сопоставляемого пользователя, либо PUBLIC, если это сопоставление для всех |
| foreign_server_catalog | sql_identifier | Имя базы данных, в которой определён сторонний сервер, задействованный в сопоставлении (всегда текущая база) |
| foreign_server_name | sql_identifier | Имя стороннего сервера, задействованного в сопоставлении |
| option_name | sql_identifier | Имя параметра |
| option_value | character_data | Значение параметра. Эта колонка будет содержать не NULL, только если описывается сопоставление текущего пользователя, либо это сопоставление для PUBLIC, а текущий пользователь — владелец стороннего сервера или суперпользователь. Данное ограничение введено для защиты информации о пароле, сохранённой в параметрах сопоставления. |
| Пред. | Начало | След. |
| user_defined_types | Уровень выше | user_mappings |
| PostgreSQL 9.4.1 Documentation | |||
|---|---|---|---|
| Prev | Up | Chapter 34. The Information Schema | Next |
34.58. user_mapping_options
The view user_mapping_options contains all the options defined for user mappings 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 34-56. user_mapping_options Columns
| Name | Data 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 |
| option_name | sql_identifier | Name of an option |
| option_value | character_data | Value of the option. This column will show as null unless the current user is the user being mapped, or the mapping is for PUBLIC and the current user is the server owner, or the current user is a superuser. The intent is to protect password information stored as user mapping option. |