DROP_USER(7)

πŸ’… DROP USER(7) β€” the PostgreSQL glow-up page

okay bestie, welcome to the PostgreSQL 18.6 Documentation page for DROP USER ✨ it's short, it's sweet, it's basically the same girl as DROP ROLE wearing a different outfit πŸŽ€


🌸 NAME 🌸

DROP USER β€” remove a database role πŸ’–


✨ SYNOPSIS ✨

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

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• DROP USER is simply an alternate spelling of DROP ROLE. that's it. that's the whole vibe. no cap, no secret extra behaviour, no hidden plot twist πŸ™ˆ same statement, same energy, different name β€” it's giving two nicknames for one main character πŸ‘‘


πŸ’€ COMPATIBILITY πŸ’€

the DROP USER statement is a PostgreSQL extension. the SQL standard is out here leaving the definition of users to the implementation, which lowkey means it just doesn't specify it at all 🫠 so yeah, this one's a PostgreSQL original, iykyk πŸ’…


πŸ‘€ SEE ALSO πŸ‘€

  • DROP ROLE (DROP_ROLE(7)) β€” go read that one too, fr fr, it's the same thing but the ✨canonical✨ spelling 🫢

k byeeee, that's the whole page bestie!! 🌈⭐ this was PostgreSQL 18.6, dated 2026, from the DROP USER(7) manual page πŸ’–πŸŽ€ go drop some roles (carefully, queen) 🧚🌸