DROP_USER(7)

DROP_USER7

Remove a database role

Usage

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

Overview

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.

From postgresql 18.6-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.