heroku / heroku-pg-extras

A heroku plugin for awesome pg:* commands that are also great and fun and super.
MIT License
1.33k stars 102 forks source link

Fix bloat query incorrectly categorising objects #165

Closed mble closed 2 years ago

mble commented 6 years ago

This commit updates the bloat query to correctly categorise database objects, as previously the table_bloat CTE did not sufficiently filter out indexes, so some indexes may have been reported as tables incorrectly.

Fixes #143