House 9
The blog has moved to
http://jessehouse.com/
... 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
Resources
http://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/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment