fastread homefastrread library fastread menu

PostgreSQL : DROP USER statement

Tutorial by:      Date: 2016-04-19 23:30:32

❰ Previous Next ❱

This PostgreSQL tutorial 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:

DROP USER user_name;

Parameters or Arguments


The name of the user to remove from the PostgreSQL database.


  • If the user that you wish to delete owns a database, be sure to drop the database first and then drop the user.


Let's look at how to drop a user in PostgreSQL using the DROP USER statement.

For example:

DROP USER fastread.aitechtonic;

In this example, the DROP USER statement would drop the user called fastread.aitechtonic in the PostgreSQL database.


❰ Previous Next ❱


Submit Your Thought, Tutorial, Articls etc.

Submit Your Information India's Number one online promotion website