35.59. 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 35-57. user_mapping_options Columns

NameData TypeDescription
authorization_identifiersql_identifierName of the user being mapped, or PUBLIC if the mapping is public
foreign_server_catalogsql_identifierName of the database that the foreign server used by this mapping is defined in (always the current database)
foreign_server_namesql_identifierName of the foreign server used by this mapping
option_namesql_identifierName of an option
option_valuecharacter_dataValue 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.