In this PostgreSQL post explains how to use the PostgreSQL DROP USER statement with syntax and examples.
The DROP USER statement is used to remove a user from the PostgreSQL database.
The syntax for the DROP USER statement in PostgreSQL is:
The name of the user to remove from the PostgreSQL database.
Let's look at how to drop a user in PostgreSQL using the DROP USER statement.
For example:
In this example, the DROP USER statement would drop the user called AODBA in the PostgreSQL database.