Graham Murray wrote:
> I am using spamassassin 3.2.0 and Postgresql 8.2.4 for bayes and awl.
> 
> I am seeing several messages from Postgresql like the following
> 
> spamd[18408]: WARNING: nonstandard use of \\ in a string literal
> spamd[18408]: LINE 1: select 
> put_tokens(1,'{"\\\\003\\\\272\\\\260\\\\274\\\\052"...
> spamd[18408]:  ^
> spamd[18408]: HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
> 
> In both /var/log/mail (where these are pasted from) and the postgresql logs.
> 

This is due to the way Postgresql is handling strings in later versions.
 You can see some of the discussion in this bug:
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5299

I would welcome patches from anyone who would like to provide a fix for
this.  Our Postgresql support is geared towards 7.X and some of the
advances in 8.X causes issues with a couple of things.  Sadly I don't
have enough time to maintain the support at the moment.

Michael

Reply via email to