restart postgresql ubuntu 18.04 code example
Example 1: restart postgres ubuntu
sudo service postgresql restart
Example 2: how to restart postgresql ubuntu
sudo service postgresql restart
sudo service postgresql restart
sudo service postgresql restart