SQL Reference Contents

NAME

drop user -- drop user from within a PostgreSQL instance

SYNOPSIS

drop user username

DESCRIPTION

drop user

statement removes the named user from a PostgreSQL instance, along with any databases owned by the user. It does not remove tables, views, or triggers owned by the named user in database not owned by the user. This statement can be used in the place of destroyuser(1) , regardless of how the user was created.

EXAMPLES

---
--- Drop a user
---
drop user tab;

SEE ALSO

alter_user(l) , create_user(l) .


Table of Contents