4 DROP USER MAPPING — remove a user mapping for a foreign server
8 DROP USER MAPPING [ IF EXISTS ] FOR { user_name | USER | CURRENT_ROLE | CURRENT_
9 USER | PUBLIC } SERVER server_name
13 DROP USER MAPPING removes an existing user mapping from foreign server.
15 The owner of a foreign server can drop user mappings for that server
16 for any user. Also, a user can drop a user mapping for their own user
17 name if USAGE privilege on the server has been granted to the user.
22 Do not throw an error if the user mapping does not exist. A
23 notice is issued in this case.
26 User name of the mapping. CURRENT_ROLE, CURRENT_USER, and USER
27 match the name of the current user. PUBLIC is used to match all
28 present and future user names in the system.
31 Server name of the user mapping.
35 Drop a user mapping bob, server foo if it exists:
36 DROP USER MAPPING IF EXISTS FOR bob SERVER foo;
40 DROP USER MAPPING conforms to ISO/IEC 9075-9 (SQL/MED). The IF EXISTS
41 clause is a PostgreSQL extension.
45 CREATE USER MAPPING, ALTER USER MAPPING