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) π§πΈ
π¦ where this page comes from
- alpine 3.23: postgresql18-doc 18.6-r0 Β· PostgreSQL
- alpine 3.24: postgresql18-doc 18.6-r0 Β· PostgreSQL
- arch rolling: postgresql 18.6-4 Β· PostgreSQL
- fedora 43: postgresql 18.6-1.fc43 Β· PostgreSQL
- fedora 43: postgresql 18.6-1.fc43 Β· PostgreSQL
- fedora 44: postgresql 18.6-1.fc44 Β· PostgreSQL
- fedora 44: postgresql 18.6-1.fc44 Β· PostgreSQL
- nixos 26.05: postgresql 18.6
- ubuntu resolute: postgresql-client-18 18.6-0ubuntu0.26.04.1 Β· PostgreSQL
- ubuntu stonking: postgresql-client-18 18.6-3build2 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms