Skip to content

user_mappings

The user_mappings view contains all of the user mappings defined in the current database. WarehousePG displays only those user mappings to which the current user has access (by way of being the owner or having some privilege).

columntypereferencesdescription
authorization_identifiersql_identifierName of the user being mapped, or PUBLIC if the mapping is public.
foreign_server_catalogsql_identifierName of the database in which the foreign server used by this mapping is defined (always the current database).
foreign_server_namesql_identifierName of the foreign server used by this mapping.

Parent topic: System Catalogs Definitions