1CREATE GROUP(7) PostgreSQL 9.2.24 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 | CREATEUSER | NOCREATEUSER
17 | INHERIT | NOINHERIT
18 | LOGIN | NOLOGIN
19 | [ ENCRYPTED | UNENCRYPTED ] PASSWORD 'password'
20 | VALID UNTIL 'timestamp'
21 | IN ROLE role_name [, ...]
22 | IN GROUP role_name [, ...]
23 | ROLE role_name [, ...]
24 | ADMIN role_name [, ...]
25 | USER role_name [, ...]
26 | SYSID uid
27
29 CREATE GROUP is now an alias for CREATE ROLE (CREATE_ROLE(7)).
30
32 There is no CREATE GROUP statement in the SQL standard.
33
35 CREATE ROLE (CREATE_ROLE(7))
36
37
38
39PostgreSQL 9.2.24 2017-11-06 CREATE GROUP(7)