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.


-dave

/*==================
www.urth.org
we await the New Sun
==================*/

Reply via email to