postgres service restart code example
Example 1: how to restart psql in linux
sudo service postgresql restart
# To restart the postgresql service
Example 2: stpop start psql server
sudo service postgresql start
sudo service postgresql stop
sudo service postgresql restart
Example 3: restart postgresql
sudo /etc/init.d/postgresql restart
Example 4: postgresql server restart
sudo service postgresql start