Database

Create and Drop Database PostgreSQL commandline shortcut

9 Oct , 2014  

We can create / drop database in PostgreSQL without login into user account. Here is the command (Windows):

1
2
createdb -U postgres <database-name>
dropdb -U postgres <database-name>