On Sun, Apr 28, 2002 at 01:37:44PM -0500, Dave Rolsky wrote:
> I am browsing through the Postgres C library docs and I came across these
> functions:
> 
>  PQescapeString
>  PQescapeBytea
> 
> I then remembered some issues I'd had with DBD::Pg incorrectly escaping a
> bytea column when I attempted to insert some binary data.
> 
> So I took a little look at dbdimp.c for DBD::Pg and noticed it has its own
> hand-rolled string escaping.
> 
> Can DBD::Pg be changed to use these if they're available?  They're new in
> the 7.2 release.
> 
> I think this'd save a lot of hassle.

I proposed this in the release announcement for version 1.10 of
DBD::Pg.  The problem, as I see it, is these functions are only in
version 7.1 and higher of Pg.  So we would be effectively cutting
off everyone else.  I plan to release a DBD::Pg 2, which will
support only 7.1 and greater, and continue to maintain DBD::Pg 1,
for all the systems it already supports.

Regards,
Jeffrey

Reply via email to