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