[check_postgres] problem parsing output in check_fsm_relations and check_fsm_pages

Guillaume Lelarge guillaume at lelarge.info
Tue Mar 2 16:30:07 UTC 2010


Le 02/03/2010 17:23, Greg Sabino Mullane a écrit :
> On Thu, Aug 27, 2009 at 05:10:59PM -0400, Luke Koops wrote:
>>    I am using strawberry perl version v5.10.0 built for
>>    MSWin32-x86-multi-thread
>>
>>    To run this on Windows I had to make a small change in handling the
>>    $HOME directory, but that's not the issue.
> 
> Can you elaborate? We'd like to get that fixed up.
> 

+1

>>    in check_fsm_pages and check_fsm_rlations, the query return value isn't
>>    getting parsed properly.
> ...
>>    while ($db->{slurp} =~ /\s*(\d+) \|\s+(\d+) \|\s+(\d+)\s*/gsm) {
> 
> Applied!
> 
>>    Is there any interest in making this tool run on Windows?
> 
> Yes, but I suspect the pool of developers running Windows versus 
> Unix is very small.
> 

Sure. I have some customers on Windows and would like to monitor their
PostgreSQL instances as well.

>>    Is this change going to break anything on Unix/Linux?
> 
> I don't think so, but it's going to be a part of the next version, 
> so we'll find out. ;)
> 

:)


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com


More information about the Check_postgres mailing list