For the sake of educational purposes I have two identical instances of postgresql running on my machine.
I can easily stop the service of the instance that is running on port 5432 like this :
sudo service postgresql stop
What I like to know is that how I can stop the other instance (it is running on port 5433)
Check this if it is helpful...
– psyCHOder Jun 29 '15 at 10:00