postgresql_16:7.1.94 CREATE USER MAPPING
PostgreSQL 16 > Reference > SQL Commands > CREATE USER MAPPING
define a new mapping of a user to a foreign server
CREATE USER MAPPING [ IF NOT EXISTS ] FOR { user_name | USER | CURRENT_ROLE | CURRENT_USER | PUBLIC }
SERVER server_name
[ OPTIONS ( option 'value' [ , ... ] ) ]
CREATE USER MAPPING [ IF NOT EXISTS ] FOR { user_name | USER | CURRENT_ROLE | CURRENT_USER | PUBLIC }
SERVER server_name
[ OPTIONS ( option 'value' [ , ... ] ) ]
Subsections
- postgresql_16:7.1.94.1 Description
- postgresql_16:7.1.94.2 Parameters
- postgresql_16:7.1.94.3 Examples
- postgresql_16:7.1.94.4 Compatibility
- postgresql_16:7.1.94.5 See Also