DROP_USER(7pg16)
okay so bestie, welcome to the DROP USER(7) page β it's short, it's cute, it's giving βwhy is this its own page?β energy, and we're gonna read it together π
β¨
πΈ NAME πΈ
DROP_USER β remove a database role π«Ά
β¨ SYNOPSIS β¨
DROP USER [ IF EXISTS ] name [, ...]
π DESCRIPTION π
DROP USER is literally just an alternate spelling of DROP ROLE β same vibe, different spelling, no cap πβ¨
π¦ COMPATIBILITY π¦
So here's the compatibility tea β: the DROP USER statement is a PostgreSQL extension. The SQL standard leaves the definition of users to the implementation β yep, that's the whole situation, bestie π
π SEE ALSO π
DROP ROLE(DROP_ROLE(7)) β the other page to hit up, iykyk π
okay that's the whole page π
β PostgreSQL 16.15, dated 2026, DROP USER(7), and that's a wrap. mwah π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: postgresql16 16.15-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql16 16.15-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql16 16.15-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql16 16.15-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms