Le samedi 2 mars 2013 15:36:23, Julien Cristau a écrit : > On Sat, Mar 2, 2013 at 14:53:19 +0100, Julien Cristau wrote: > > Still seems like something that should be fixed instead of documenting > > that we're shipping non-working stuff.
Ok, can I assume a tpu upload would be accepted then? > > By which I guess I mean something like this: > > --- dspam-3.10.1+dfsg.orig/src/pgsql_drv.c > +++ dspam-3.10.1+dfsg/src/pgsql_drv.c > @@ -3175,6 +3175,12 @@ PGconn *_pgsql_drv_connect(DSPAM_CTX *CT > return NULL; > } > > + if (PQserverVersion(dbh) >= 90100) > + { > + PGresult *result = PQexec(dbh, "SET standard_conforming_strings TO > off;"); + if (result) > + PQclear(result); > + } > return dbh; > > FAILURE: > > Not even build-tested, so there's some work left, but hopefully you get > the idea. Wonderful. And it builds ! Arno, is it possible for you to forward me one of the spams that triggered this bug (as an attached file)? Unfortunetely I couldn't find a spam in my spam folder that would trigger this bug. Best regards, > > Cheers, > Julien Thanks Julien, much appreciated. Thomas
signature.asc
Description: This is a digitally signed message part.