Scroll to navigation

DROP USER(7) PostgreSQL 15.6 Documentation DROP USER(7)

NAME

DROP_USER - remove a database role

SYNOPSIS

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

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 ROLE (DROP_ROLE(7))

2024 PostgreSQL 15.6