代码拉取完成,页面将自动刷新
修改一个用户组的属性。
ALTER GROUP是ALTER ROLE的别名,非SQL标准语法,不推荐使用,建议用户直接使用ALTER ROLE替代。
向用户组中添加用户。
ALTER GROUP group_name
ADD USER user_name [, ... ];
从用户组中删除用户。
ALTER GROUP group_name
DROP USER user_name [, ... ];
修改用户组的名称。
ALTER GROUP group_name
RENAME TO new_name;
请参考ALTER ROLE的参数说明。
--向用户组中添加用户。
postgres=# ALTER GROUP super_users ADD USER lche, jim;
--从用户组中删除用户。
postgres=# ALTER GROUP super_users DROP USER jim;
--修改用户组的名称。
postgres=# ALTER GROUP super_users RENAME TO normal_users;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。