DROP_GROUP(7pg13)
π DROP GROUP π
okay bestie, quick vibe check first: this page lives in the PostgreSQL 13.23 Documentation and it's called DROP GROUP(7). it's a short one, but it still ate. let's go π«Ά
β¨ NAME β¨
DROP GROUP β remove a database role π
like, it yeets a role out of existence. that's the whole gig.
πΈ SYNOPSIS πΈ
DROP GROUP [ IF EXISTS ] name [, ...]
so you've got the optional IF EXISTS safety net (iconic, use it), then name β and yes you can list more than one, comma-separated, because we multitask π
π¦ DESCRIPTION π¦
bestie, plot twist: DROP GROUP is now an alias for DROP ROLE β that's DROP_ROLE(7), iykyk. so it's not doing its own thing anymore, it's just DROP ROLE wearing a different outfit. main character energy but borrowed π
ngl, if you were expecting a whole separate command here, that's it. that's the whole description. go read DROP_ROLE(7) fr fr.
π COMPATIBILITY π
there is no DROP GROUP statement in the SQL standard. like, zero. doesn't exist. not a thing. so don't go looking for it in the spec, you will not find it π
β SEE ALSO β
DROP ROLE(DROP_ROLE(7)) β the actual real one, the blueprint, the original π
okay that's the whole page, no cap π§ so cute, so brief. this was PostgreSQL 13.23, dated 2025, signing off with DROP GROUP(7) and a little π for the road. byeeee πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: postgresql13 13.23-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql13 13.23-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql13 13.23-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql13 13.23-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