Bug#554489: DBD::Pg in Lenny mangles high bit characters with pg_server_prepare=0

gregor herrmann gregoa at debian.org
Fri Nov 6 13:50:27 UTC 2009


On Wed, 04 Nov 2009 12:56:52 -0800, Bryce Nesbitt wrote:

> We're upgrading from Etch to Lenny, and have found a serious regression. Basically if pg_server_prepare
> is set to zero, you can no longer store characters above 127 to the database.  pg_server_prepare has
> to be set to zero because the notoriously unstable DBD:Pg distribution changed how bind parameters work,
> and pg_server_prepare=0 is the only way to get back the original behavior.

Thanks for your detailed bug report!

Looking through the upstream Changes and the bug reports on CPAN RT
this looks like
http://rt.cpan.org/Public/Bug/Display.html?id=39390

The bug report contains a patch:
http://rt.cpan.org/Ticket/Attachment/509835/253818/
and the problem is supposed to be fixed in 2.10.6.
http://search.cpan.org/diff?from=DBD-Pg-2.10.5&to=DBD-Pg-2.10.6 also
shows the actual change in quote.c

Do you happen to have a chance to text a newer version of DBD::Pg or
apply this one-line patch?
 
Cheers,
gregor
-- 
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    NP: David Bowie: Changes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20091106/88358887/attachment.pgp>


More information about the pkg-perl-maintainers mailing list