Bug#369351: Bandaid patch
Martin Pitt
mpitt at debian.org
Fri Jun 2 17:00:19 UTC 2006
Hi Andreas,
Andreas Metzler [2006-06-02 18:27 +0200]:
>
> PQescapeStringConn() is newly introduced in postgresql-8.1 8.1.4,
> afaict from
> http://packages.qa.debian.org/p/postgresql-8.1/news/20060602T042331Z.html
> so I gather that switching to it would either be need to be done
> conditionally (at build-time) or building against older versions would
> be impossible.
>
> Is this correct?
Correct. In 8.1.4-2 I even managed to bump the libpq4 shlibs for that.
My advice would be to use the autoconf magic and #defines and use
-Conn() if it's available, and just PQescapeString() if not.
Otherwise, if you are sure that exim only ever uses one connection at
a time, then PQescapeString() is completely safe, too.
Martin
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntu.com
Debian Developer http://www.debian.org
In a world without walls and fences, who needs Windows and Gates?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-exim4-maintainers/attachments/20060602/0139aef1/attachment.pgp
More information about the Pkg-exim4-maintainers
mailing list