CREATE_GROUP(7pg14)
π NAME π
okay bestie, this is CREATE GROUP(7) from the PostgreSQL 14.24 Documentation β¨ and the name is literally right here: CREATE_GROUP β define a new database role. thatβs the vibe, no cap π«Ά
β¨ SYNOPSIS β¨
the whole spell goes like this:
CREATE GROUP name [ [ WITH ] option [ ... ] ]
where option can be:
SUPERUSER | NOSUPERUSER
| CREATEDB | NOCREATEDB
| CREATEROLE | NOCREATEROLE
| INHERIT | NOINHERIT
| LOGIN | NOLOGIN
| REPLICATION | NOREPLICATION
| BYPASSRLS | NOBYPASSRLS
| CONNECTION LIMIT connlimit
| [ ENCRYPTED ] PASSWORD 'password' | PASSWORD NULL
| VALID UNTIL 'timestamp'
| IN ROLE role_name [, ...]
| IN GROUP role_name [, ...]
| ROLE role_name [, ...]
| ADMIN role_name [, ...]
| USER role_name [, ...]
| SYSID uid
every option up there is exactly as written β no extras, no invented flags, no βI fixed the spacingβ nonsense π
π¦ DESCRIPTION π¦
so CREATE GROUP is now an alias for CREATE ROLE (CREATE_ROLE(7)). thatβs the whole tea βοΈ β itβs giving alias energy, and honestly? iconic.
π COMPATIBILITY π
bad news for the SQL-standard girlies π there is no CREATE GROUP statement in the SQL standard. periodt.
π SEE ALSO π
CREATE ROLE(CREATE_ROLE(7)) β the main character this alias points at π
PostgreSQL 14.24 Β· 2026 Β· CREATE GROUP(7) β mwah, bestie, go slay your roles ππ
π¦ where this page comes from
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms