[check_postgres] Patch to fix an issue with slony_status report when one uses a service to connect
Guillaume Lelarge
guillaume at lelarge.info
Tue Mar 2 10:01:05 UTC 2010
Hi,
I had the "Use of uninitialized value in concatenation (.) or string at
./check_postgres.pl" error message on a customer's server when using the
slony_status report.
Once again, it happens only when you use --dbservice option. When
someone use this option, $db->{dbname} is not initialized. (I said "Once
again" because we already had the issue with the vacuum/analyze report.
My patch is a modified copy of the one I sent for the vacuum/analyze
report issue.)
The patch attached fixes it.
Regards.
--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slony_status.patch
Type: text/x-patch
Size: 1293 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20100302/9ae6d660/attachment.bin
More information about the Check_postgres
mailing list