Postgresql 中文操作指南

37.62. user_mappings #

视图 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 37.60. user_mappings Columns

Table 37.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