CREATE GROUP
Synopsis
CREATE GROUP name
[ WITH
[ SYSID gid ]
[ USER username [, ...] ] ]
Inputs
- name
The name of the group.
- gid
The SYSID clause can be used to choose the Postgres group id of the new group. It is not necessary to do so, however.
If this is not specified, the highest assigned group id plus one, starting at 1, will be used as default.
- username
A list of users to include in the group. The users must already exist.
Description
CREATE GROUP will create a new group in the database installation. Refer to the adminstrator's guide for information about using groups for authentication. You must be a database superuser to use this command.
Use ALTER GROUP to change a group's membership, and DROP GROUP to remove a group.
Report a documentation issue
Read the upstream documentation. For corrections, first check the current manual.