how to stop and start postgres in linux code example
Example: stpop start psql server
sudo service postgresql start
sudo service postgresql stop
sudo service postgresql restart
sudo service postgresql start
sudo service postgresql stop
sudo service postgresql restart