On Mon, Nov 28, 2011 at 06:07:27PM +0100, Miroslav Suchy wrote:
> Dne 28.11.2011 17:33, Michael Calmer napsal(a):
> >Hi,
> >
> >here are 6 patches I made. The first two were findings from pylint, the rest
> >is a try to fix monitoring with postgres.
> 
> 0006-postgres-seems-to-reject-empty-text-for-stdout-and-s.patch
> I hesitated about this one. Probably best solution would be to
> normalize this table and do not put there anything if there is not
> stderr.

I any case, the fix was not correct. You do *not* want to put
single-space strings there if you hit the vn_* constraint, you should
put in null (undef in Perl), not ' '. See

        
https://fedorahosted.org/spacewalk/wiki/PostgreSQLPortingGuide#empty_string_null

I hopefully fixed it with commit

        6fe5acfe48abd7e07ef2f87da7422a6bf13dbd23

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to