[check_postgres] bloat fix for dbname

Cédric Villemain cedric.villemain at dalibo.com
Wed Jun 24 10:36:44 UTC 2009


Le mercredi 24 juin 2009, Cédric Villemain a écrit :
> Hello,
>
> the change on check_bloat introduce a bug when connecting via dbservice :
> the db{dbname} is undefined or empty.
> And there was probably a typo in the code : $db{dbname}.schema.$table
> It should be $schema I hope (so my patch correct this too)
>
> I have patch it (see bloat.diff).

Shame on me : the patch fix the test not the usage...
check the new one : bloat.diff.v2

I think msg bloat-table and bloat-index should be updated too to use the 
dbname in the ouput as MRTG output do.

>
>
> ----
> Cédric Villemain
> Administrateur de Base de Données
> Cel: +33 (0)6 74 15 56 53
> http://dalibo.com - http://dalibo.org


-- 
----
Cédric Villemain
Administrateur de Base de Données
Cel: +33 (0)6 74 15 56 53
http://dalibo.com - http://dalibo.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bloat.diff.v2
Type: text/x-patch
Size: 2031 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20090624/a51195de/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20090624/a51195de/attachment-0001.bin 


More information about the Check_postgres mailing list