Created
November 25, 2017 21:07
-
-
Save mmontagna/b38c4a71e5b618f16e76440829017e28 to your computer and use it in GitHub Desktop.
kill redshift connections to db
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(procpid) from pg_stat_activity where datname='data'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment