postgres: terminate all database connections Apr 29th, 2012 Using psql from the command line you can terminate all connections to a databaseComes in handy when you want to do things like restore your staging or development database Resourceshttp://www.postgresql.org/docs/9.1/static/reference-client.html http://blog.gahooa.com/2010/11/03/how-to-force-drop-a-postgresql-database-by-killing-off-connection-processes/