bucardo/check_postgres — pull request #17 by greyfairer (2013-01-10 13:59:51+00:00)
Title: Fix the check_bloat SQL to take inherited and non-analyzed attributes into account.

Currently, if columns are not analyzed (not in pg_stats), they are not
taken into account, leading to a huge overestimation of the bloat.

Additionally, inherited columns are not included.

This patch fixes that by assuming 2048 average width for columns that are not analyzed.