DROP_GROUP(7pg18)
π DROP_GROUP β bestie's guide to yeeting a role π
okay so real talk, this is the DROP_GROUP(7) page from the PostgreSQL 18.6 Documentation, and it is short. like, blink-and-you-miss-it short. but we're still gonna do it properly bc that's the vibe π«Ά
β¨ NAME β¨
DROP_GROUP β remove a database role πΈ
like... it deletes a role. gone. poof. bye girl π
β¨ SYNOPSIS β¨
DROP GROUP [ IF EXISTS ] name [, ...]
so you got your DROP GROUP, then optionally IF EXISTS (for the cautious girlies who don't wanna get yelled at when the thing isn't there π), then name, and you can comma-separate a whole list of names bc why do one when you can do many, periodt π
β¨ DESCRIPTION β¨
okay this is the tea and it's a lil anticlimactic ngl:
DROP GROUP is now an alias for DROP ROLE β¨
that's it. that's the whole description. iconic in its brevity fr fr. so if you were expecting a whole deep lore drop about group-specific behaviour... no ma'am. it's just DROP ROLE wearing a lil costume π
β¨ COMPATIBILITY β¨
vibe check with the SQL standard: there is no DROP GROUP statement in the SQL standard π
so yeah, this is a Postgres thing, not a standard thing. iykyk π
β¨ SEE ALSO β¨
DROP ROLE(DROP_ROLE(7)) β the main character this whole page is lowkey cosplaying as π
and that's the whole page bestie, no cap. short, sweet, and honestly kind of slaying with how little it says.
PostgreSQL 18.6 Β· 2026 Β· DROP GROUP(7) β mwah, catch u on the next manpage πβ¨π¦
π¦ where this page comes from
- opensuse-leap 16.0: postgresql18 18.6-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql18 18.6-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql18 18.6-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql18 18.6-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms