[check_postgres] more on cosmetic (and a bug ?)

Cédric Villemain cedric.villemain at dalibo.com
Fri Mar 27 12:32:38 UTC 2009


Hi,

I have some more cosmetics things in the attached patch (against a 2.7.3)

And please be carefull of the last part of the patch, in @@ sub check_timesync I
did :

-               $db->{perf} = " diff:$diff";
+               $db->{perf} .= " diff=$diff";

Note that I add a dot to concatenate the perf message for every check.
I believe it is perhaps a bug (but my solution probably not enought because the
perf msg does not contain dbname).

-- 
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: cosmetic.patch
Type: text/x-patch
Size: 907 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20090327/9a8d4017/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20090327/9a8d4017/attachment-0001.bin 


More information about the Check_postgres mailing list