DROP_GROUP(7)

πŸ’… 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 πŸ’–βœ¨πŸ¦‹