DROP_GROUP(7pg13)

πŸ“¦ version 13.23, in opensuse-leap 16.0

πŸ’… 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