On Mon, 21 Oct 2002, David Wheeler wrote: > If, OTOH, DBD::Pg can determine what's available and what's not when > it's compiled, we can use the above for pre 7.2 and PQescapeString for > 7.2 or later.
Or maybe you can cut 'n' paste PQescapeString into the DBD::Pg code and use it when the version is less than 7.2. BTW, There's also a PQescapeBytea which might fix consistent problems I've had trying to insert binary data into a BYTEA column (I ended up just base64 encoding it, but that's lame). -dave /*================== www.urth.org we await the New Sun ==================*/