1CREATE GROUP(7) PostgreSQL 13.3 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 | REPLICATION | NOREPLICATION
19 | BYPASSRLS | NOBYPASSRLS
20 | CONNECTION LIMIT connlimit
21 | [ ENCRYPTED ] PASSWORD 'password' | PASSWORD NULL
22 | VALID UNTIL 'timestamp'
23 | IN ROLE role_name [, ...]
24 | IN GROUP role_name [, ...]
25 | ROLE role_name [, ...]
26 | ADMIN role_name [, ...]
27 | USER role_name [, ...]
28 | SYSID uid
29
31 CREATE GROUP is now an alias for CREATE ROLE (CREATE_ROLE(7)).
32
34 There is no CREATE GROUP statement in the SQL standard.
35
37 CREATE ROLE (CREATE_ROLE(7))
38
39
40
41PostgreSQL 13.3 2021 CREATE GROUP(7)