On 12/06/13 14:51, Chris Moules wrote:
> 

> Could it be that postgres is built with "escape_string_warning = on" ?

Just downloaded the source of postgres.
I found this in the HISTORY file when grep'ing for escape_string_warning

Migration to Version 8.2
...
     * Set escape_string_warning to on by default (Bruce)
       This issues a warning if backslash escapes are used in non-escape
       (non-E'') strings.

So, yes, this is on by default!

The Debian patch side-steps the query from *not working* but there is a
warning.

It might be worth simply updating the queries or having them in a
'version' block.

NOTE: the patch that I sent was only for the single (repeated) error
that I was receiving. This was while hitting the DB via dspam_train.

I have been evaluating all the storage backends and found Hash to be the
fastest, but seems buggy with TOE as trainingMode (it crashes, looks
like when it tries to 'extend' the storage).

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

Reply via email to