云数据库 GaussDB-ALTER GROUP:示例

时间:2023-11-01 16:22:24

示例

12345678
--向用户组中添加用户。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;
support.huaweicloud.com/devg-opengauss/opengauss_devg_0496.html