How can I kill all my postgresql connections?
I\'m trying a rake db:drop but I get:
rake db:drop
ERROR: database \"database_name\" is being accessed
Easier and more updated way is:
ps -ef | grep postgres
sudo kill -9 "#"
Note: There may be identical PID. Killing one kills all.