Skip to content

Commit

Permalink
put in source example
Browse files Browse the repository at this point in the history
  • Loading branch information
will committed Sep 10, 2012
1 parent e3e642c commit c193e5a
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Readme.md
Expand Up @@ -6,10 +6,11 @@ A herou plugin for awesome pg:* commands that are also great and fun and super.
~ ➤ heroku plugins:install git://github.com/will/heroku-pg-extras.git

~ ➤ heroku pg:ps -a will
procpid | source | running_for | waiting | query
---------+--------+-----------------+---------+-----------------------
31776 | psql | 00:19:08.017088 | f | <IDLE> in transaction
31912 | psql | 00:18:56.12178 | t | select * from hello;
procpid | source | running_for | waiting | query
---------+------------------------------------------+-----------------+---------+-----------------------
31776 | psql | 00:19:08.017088 | f | <IDLE> in transaction
31912 | psql | 00:18:56.12178 | t | select * from hello;
32670 | Heroku Postgres Data Clip daaiifuuraiyks | 00:00:25.625609 | f | BEGIN READ ONLY; select pg_sleep(60)
(2 rows)

~ ➤ heroku pg:locks -a will
Expand All @@ -29,6 +30,12 @@ A herou plugin for awesome pg:* commands that are also great and fun and super.
t
(1 row)

~ ➤ heroku pg:kill 32670 -a will
pg_cancel_backend
-------------------
t
(1 row)

~ ➤ heroku pg:ps -a will
procpid | source | running_for | waiting | query
---------+--------+-----------------+---------+-----------------------
Expand Down

0 comments on commit c193e5a

Please sign in to comment.