Skip to content

Instantly share code, notes, and snippets.

@sprhawk
Created March 26, 2012 03:36
Show Gist options
  • Save sprhawk/2202691 to your computer and use it in GitHub Desktop.
Save sprhawk/2202691 to your computer and use it in GitHub Desktop.
postgresql
postgres=# select * from pg_stat_activity;
select pg_terminate_backend(13514) from pg_stat_activity where datname='collab';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment