how to stop postgres server on windows when not in use 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