DROP_USER(7pg15)
πΈ NAME πΈ
DROP_USER β remove a database role.
Okay so bestie, welcome to the DROP_USER(7pg15) page π this is the manual-name moment, and weβre keeping it cute: DROP_USER is the little command that removes a database role. Periodt.
β¨ SYNOPSIS β¨
DROP USER [ IF EXISTS ] name [, ...]
π DESCRIPTION π
DROP USER is literally just an alternate spelling of DROP ROLE. Thatβs the whole vibe: same energy, different spelling. Slay, honestly.
π COMPATIBILITY π
The DROP USER statement is a PostgreSQL extension. The SQL standard leaves the definition of users to the implementation. So yeah, that part is up to each implementation β no cap.
π SEE ALSO π
DROP ROLE(DROP_ROLE(7))
Source check, bestie: this is from PostgreSQL 15.19 docs, dated 2026, and itβs the DROP USER(7) page β mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql15 15.19-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