github.com/matrixorigin/matrixone@v0.7.0/test/distributed/cases/tenant/role.result (about)

     1  drop role if exists r1,r2,r3;
     2  create role r1,r2,r3;
     3  create role if not exists r1,r2,r3;
     4  select role_name from mo_catalog.mo_role;
     5  role_name
     6  moadmin
     7  public
     8  r1
     9  r2
    10  r3
    11  create role r1;
    12  internal error: the role r1 exists
    13  create role public;
    14  internal error: can not use the name public. it is the name of the predefined role
    15  create role if not exists r1,r2,r3,r4;
    16  drop role r4;
    17  drop role if exists r1,r2,r3,r4;