Let’s start the discussion about How to stop postgres in linux in following methods.
postgres stop linux
Basically, stopping the PostgreSQL database server is fairly simple. However, how the PostgreSQL database server is stopped is determined on the method used to start it. There are various methods for terminating the PostgreSQL database server. Depending on how the service is launched
To stop the postgresql run :
sudo service postgresql stop
To start the postgresql run :
sudo service postgresql start
I hope the strategies listed above work for you. Happy coding and come back again.
Similar Post : How to Install Opencv in anaconda