delete postgres database ubuntu code example
Example 1: remove postgresql ubuntu
sudo apt-get --purge remove postgresql
sudo apt-get purge postgresql*
sudo apt-get --purge remove postgresql postgresql-doc postgresql-common
Example 2: drop database using terminal postgres
sql -U <user> -c "drop database protodb"