DROP_GROUP(7pg17)

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

πŸ’… DROP_GROUP πŸ’…

okay bestie, welcome to the DROP GROUP page from the PostgreSQL 17.11 docs (that's the pg17 manual, iykyk) β€” it's short, it's sweet, and honestly? it's giving "I'm an alias and I'm at peace with that." ✨


🌸 NAME 🌸

DROP_GROUP β€” remove a database role 🫢


πŸŽ€ SYNOPSIS πŸŽ€

DROP GROUP [ IF EXISTS ] name [, ...]

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea: DROP GROUP is now an alias for DROP ROLE. that's it. that's the whole vibe. not me getting emotional over a backward-compatibility alias 😭 she's literally just standing there being DROP ROLE in a different outfit πŸ’…


πŸ¦‹ COMPATIBILITY πŸ¦‹

ngl, the SQL standard does not have a DROP GROUP statement. not a single one. the standard said "no ma'am" πŸ™ˆ so if you're out here looking for it in the spec, bestie, it's not there β€” periodt.


🌈 SEE ALSO 🌈

  • DROP ROLE (DROP_ROLE(7)) πŸ‘‘ β€” the main character she's aliasing for

🚨 friendly reminder: IF EXISTS is right there in the synopsis, so if you're not sure the role exists, use it and save yourself the emotional damage πŸ’€

and that's the page!! short and iconic, just like her πŸ“ mwah πŸ’‹ β€” this was DROP GROUP(7), taken from the PostgreSQL 17.11 documentation, dated 2026. slay, go drop some roles responsibly πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from