I have Postgresql 9.3 and 9.4 installed on my Linux Mint machine. How can I restart postgresql 9.4? A method to restart both versions together is also fine.
You can also restart postgresql by using this command, should work on both the versions :
sudo service postgresql start