Created
August 19, 2017 08:52
-
-
Save marcelolebre/c34f7455f1494cb620f361f080d50e25 to your computer and use it in GitHub Desktop.
Terminate locks on Postgres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select pg_terminate_backend(pid) from active_locks; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment