restart postgresql server code example
Example 1: restart postgres ubuntu
sudo service postgresql restart
Example 2: how to restart psql in linux
sudo service postgresql restart
Example 3: restart postgresql
sudo /etc/init.d/postgresql restart
Example 4: how to restart postgresql ubuntu
sudo service postgresql restart
Example 5: postgresql server restart
sudo service postgresql start
Example 6: restart postgreSql from terminal
pg_ctl -D "C:\Program Files\PostgreSQL\12\data" restartCode language: JavaScript (javascript)