Merge pull request #14 from jpadilla/master

Fix error on long_running_queries
Add heroku pg:unused_indexes method
Merge pull request #16 from petergeoghegan/unused_indexes

Add heroku pg:unused_indexes method
add pg:killall
update readme
Fix thinkos in page calculations

Mea culpa.
Don't display idle queries in long_running_queries

This is to avoid confusion as to why entries in
`long_running_queries` do not show up in `pg`.
SQL and Ruby style consolidation
Use lowercase %q when no interpolation is needed
Merge pull request #20 from heroku/hg-style

SQL and Ruby style consolidation
Simplify bloat query for Heroku versions of Postgres
Simplify further
More CTEs
Fold index and table bloat into same structure
Some additional cleanup
Merge pull request #22 from deafbybeheading/better-bloat

Better bloat
Update Readme for new pg:bloat output
Tweak comments
Add query to show vacuum status.

Based on http://dba.stackexchange.com/a/35234 but including
per-table settings
Cast index_sizes expicitly to bigint. Fixes #30