On 12/06/13 12:53, Tom Hendrikx wrote: > 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 >
Hello Tom, System is a Debian 7 test system dspam: 3.10.2 - backport from testing postgresql: 9.1 The line that I patched is still in git HEAD as-is. I can look at re-building my full-debug version and posting full output. Regards, Chris ------------------------------------------------------------------------------ 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