CREATE GROUP name [ WITH [ SYSID gid ] [ USER username [, ...] ] ]
This parameter takes the name of the new group to create.
You may use this parameter to enter the group ID of the new group. If you do not explicitly specify the group ID, it will automatically be calculated as one higher than the highest group ID currently in use.
Use this parameter to list the users you wish to include in this group.
Note | |
---|---|
The users you list in this parameter must already exist within the database. |
Use CREATE GROUP to create a new group in the database installation. To do this you will need to be a database superuser.
To modify a group (and the list of users that it is composed of it), use ALTER GROUP. If you wish to remove a group entirely, use the DROP GROUP command.