launch postgresql code example
Example 1: start postgres server
brew services stop postgresql
Example 2: how to run postgresql in linux
sudo service postgresql-9.3 initdb
brew services stop postgresql
sudo service postgresql-9.3 initdb