SQL Commands / Roles & Privileges
DROP USER
Read the PG 18 manualremove a database role
Reading PG 18current·documented in 30 of 30 versions, 6.4 to 20
Syntax
DROP USER [ IF EXISTS ] name [, ...]
Syntax diagrams
Read left to right. Branches are choices, bypasses are optional, loops repeat. Select an underlined parameter to open its rule.
Description
DROP USER is simply an alternate spelling of DROP ROLE.
Compatibility
The DROP USER statement is a PostgreSQL extension. The SQL standard leaves the definition of users to the implementation.
See Also
DROP ROLEVersion history 10
Related entries
Definition snapshot: b7bd9cda · English manual source