The blog has moved to ... Many google searches point here so I am leaving it operational, but there will be no new posts.

Sunday, April 29, 2012

postgres: terminate all database connections

Using psql from the command line you can terminate all connections to a database

Comes in handy when you want to do things like restore your staging or development database

No comments: