[Pkg-dspam-misc] Bug#694942: Bug#701922: cloning 694942, reassign -1 to release-notes
Thomas Preud'homme
robotux at debian.org
Mon Mar 4 13:59:35 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-dspam-misc/attachments/20130304/13e02307/attachment.pgp>
More information about the Pkg-dspam-misc
mailing list