1CREATE GROUP(7) PostgreSQL 10.7 Documentation CREATE GROUP(7)
2
3
4
6 CREATE_GROUP - define a new database role
7
9 CREATE GROUP name [ [ WITH ] option [ ... ] ]
10
11 where option can be:
12
13 SUPERUSER | NOSUPERUSER
14 | CREATEDB | NOCREATEDB
15 | CREATEROLE | NOCREATEROLE
16 | INHERIT | NOINHERIT
17 | LOGIN | NOLOGIN
18 | [ ENCRYPTED ] PASSWORD 'password'
19 | VALID UNTIL 'timestamp'
20 | IN ROLE role_name [, ...]
21 | IN GROUP role_name [, ...]
22 | ROLE role_name [, ...]
23 | ADMIN role_name [, ...]
24 | USER role_name [, ...]
25 | SYSID uid
26
28 CREATE GROUP is now an alias for CREATE ROLE (CREATE_ROLE(7)).
29
31 There is no CREATE GROUP statement in the SQL standard.
32
34 CREATE ROLE (CREATE_ROLE(7))
35
36
37
38PostgreSQL 10.7 2019 CREATE GROUP(7)