On Monday, October 21, 2002, at 01:45  PM, Dave Rolsky wrote:

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).
Oh, I wasn't aware that was an issue. My Perl implementation of quote() is supposed to handle that. Using PQescapeBytea is probably the right thing to do for BYTEA, and PQescapeString for other strings. Bruce, when was PQescapeBytea introduced?

Regards,

David

--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: [EMAIL PROTECTED]



Reply via email to