[check_postgres] Backends check sent wrong error message?

Guillaume Lelarge guillaume at lelarge.info
Wed Feb 18 18:07:30 UTC 2009


Greg Sabino Mullane a écrit :
>> If I don't use the --include parameter, I have no issue. It tells me
>> there's one connection only (its own). The fact that I use --include
>> parameter with databases without connections causes my trouble.
> 
> Ah, got it now. The inclusion means it passes the first regex check, but
> then no matching rows are found due to the inclusion. I jut pushed a new
> version that should fix this, with the caveat (in the docs) that it will
> happily report "success" if you include a misspelled database name. :)
> 

I tried and it works the way I wanted. Thanks a lot.

I've seen the issue with the misspelled database name. We can probably
add a check on this. I'll try to get a look at this.

Anyway, thanks for your quick patch.


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


More information about the Check_postgres mailing list