On 06/12/2013 11:56 AM, Chris Moules wrote:
> During some recent testing I was getting:
> 'WARNING:  nonstandard use of \\ in a string literal'
> 'HINT:  Use the escape string syntax for backslashes, e.g., E'\\'.'
> 
> I believe the query in question was not updated since PgSQL 7 times.
> 
> Patch attached, not heavily tested as I do not use PgSQL in production.
> Maybe a dspam & PgQSL expert can check this. If PgSQL is constantly
> issuing warnings, I can imagine that it slows it down a fraction.
> 

Hi Chris,

This is already fixed some time ago, I think it was this commit [1].
What version of dspam are you running, and which version of postgresql
server?

[1]
http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=commitdiff;h=9bc231ae79f84a973ced531356833142c4ae2766

--
Regards,
        Tom


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to