[check_postgres] [Check_postgres-commit] [commit 1/3] Fix the check_bloat SQL to take inherited tables into account, and assume 2k for non-analyzed columns.

Guillaume Lelarge guillaume at lelarge.info
Tue Mar 26 09:47:40 UTC 2013


On Tue, 2013-03-19 at 10:48 +0100, Guillaume Lelarge wrote:
> On Mon, 2013-02-11 at 16:24 -0500, check_postgres at bucardo.org wrote:
> > Committed by gp <geert.pante at ebit.be>
> > 
> > Subject: [commit 1/3]   Fix the check_bloat SQL to take inherited tables into account, and assume 2k for non-analyzed columns.
> > 
> 
> This commit works from 9.0 till 9.2, but doesn't work with 8.4 and
> previous releases. Perhaps adding a test to check the release and use
> either the old or the new querie depending on the release?
> 

Here is a patch that works for us. Will apply at the end of the week if
no-one objects.


-- 
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_bloat.patch
Type: text/x-patch
Size: 5135 bytes
Desc: not available
URL: <https://mail.endcrypt.com/pipermail/check_postgres/attachments/20130326/78a386d8/attachment.bin>


More information about the Check_postgres mailing list