I'm trying to alter a table column in Postgres, but the table has several AccessShare and AccessExclusive locks. How do I over come the locks?
+1
A:
Kick out the connections that cause the locks. Use pg_cancel_backend() or even pg_terminate_backend().
http://www.postgresql.org/docs/current/static/functions-admin.html
Frank Heikens
2010-08-27 15:56:44
Yikes, there are 18 related to that table in question!
John Giotta
2010-08-27 16:02:58