CREATE USER MAPPING

Name

CREATE USER MAPPING -- define a new mapping of a user to a foreign server

Synopsis

CREATE USER MAPPING FOR { user_name | USER | CURRENT_USER | PUBLIC }
    SERVER server_name
    [ OPTIONS ( option 'value' [ , ... ] ) ]

Description

Note: XCONLY: The following description applies only to Postgres-XC.

USER MAPPING has not been supported by Postgres-XC yet. This command may be supported in the future releases.

Compatibility

CREATE USER MAPPING conforms to ISO/IEC 9075-9 (SQL/MED).

See Also

ALTER USER MAPPING, DROP USER MAPPING, CREATE FOREIGN DATA WRAPPER, CREATE SERVER