Last active
April 3, 2018 17:23
Revisions
-
stevenharman renamed this gist
Sep 12, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
stevenharman revised this gist
Sep 12, 2013 . 1 changed file with 1 addition and 1 deletion.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 @@ -4,7 +4,7 @@ -- An explaination of the columns on the pg_stat_activity table: -- http://www.postgresql.org/docs/9.2/static/monitoring-stats.html#PG-STAT-ACTIVITY-VIEW select pid, application_name, query, waiting, state, state_change from pg_stat_activity where usename = current_user order by state_change desc; -
stevenharman revised this gist
Sep 12, 2013 . 1 changed file with 3 additions and 0 deletions.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 @@ -1,5 +1,8 @@ -- On Heroku: -- $ heroku pg:psql -- An explaination of the columns on the pg_stat_activity table: -- http://www.postgresql.org/docs/9.2/static/monitoring-stats.html#PG-STAT-ACTIVITY-VIEW select pid,application_name,query,waiting,state,state_change from pg_stat_activity -
stevenharman created this gist
Sep 12, 2013 .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,7 @@ -- On Heroku: -- $ heroku pg:psql select pid,application_name,query,waiting,state,state_change from pg_stat_activity where usename = current_user order by state_change desc;