-- 修改用户映射的服务器名称
ALTER USER MAPPING FOR postgres SERVER existing_server_name OPTIONS (SET variable_name = 'new_value');
-- 修改用户映射的选项
ALTER USER MAPPING FOR postgres SERVER server_name OPTIONS (SET variable_name = 'new_value');
-- 删除用户映射
DROP USER MAPPING FOR postgres SERVER server_name;
请替换上述语句中的关键词和参数,以符合你的实际需求。要查看更多关于 ALTER USER MAPPING 的详细信息,请参考 PostgreSQL 官方文档。
转载请注明出处:http://www.zyzy.cn/article/detail/8638/PostgreSQL