Javatpoint Logo

91-9990449935

 0120-4256464

PostgreSQL Delete/Drop Database

In PostgreSQL, you can delete a database which you don't need any more. You should follow the following steps:

  • Select the database by a left click on it.
  • Make a right click and you will see an option to delete/drop.
  • Click delete/drop option to remove the database completely.

PostgreSQL Delete/Drop Database Example

Here, we are going to delete the database "javatpoint".

dropdatabase

Right click on the javatpoint and make a left click on delete/drop option. You will get a following popup box.

dropdatabase

Click on "Yes" to remove database "javatpoint" completely.

See the result:

Now, you can see that javatpoint is deleted from the record.

dropdatabase