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