restart postgres service windows 10 code example
Example 1: stpop start psql server
sudo service postgresql start
sudo service postgresql stop
sudo service postgresql restart
Example 2: postgresql server restart
sudo service postgresql start
Example 3: restart postgreSql from terminal
pg_ctl -D "C:\Program Files\PostgreSQL\12\data" restartCode language: JavaScript (javascript)