user_mappings

PostgreSQL 9.0.4 Documentation
Prev | Fast Backward | Chapter 34. The Information Schema | Fast Forward | Next

# 34.50. `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 34-48. `user_mappings` 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

Prev | Home | Next
`user_mapping_options` | Up | `view_column_usage`