Created
February 28, 2018 05:55
-
-
Save davebshow/3270bd6a83a30c58618be0d9f2852b16 to your computer and use it in GitHub Desktop.
Revisions
-
davebshow created this gist
Feb 28, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ Select * from pg_stat_activity where state not ilike 'idle%' and query ilike 'update%';