On Mon, December 19, 2005 04:38, Lost wrote:

> What I'm trying to do is enter binary data into the DB, but the
> control characters and such are causing a problem.  So I'm wondering what
> is the substitute for PQescapeBytea?  And how would you use it?  I've
> looked at the manual and so far, I can't find anything that comes close
> except the pqxx::binarystring class.  Which seems to only deal with
> reading a binary value, but not creating one.

Just below that in include/pqxx/binarystring.hxx, you'll find the
escape_binary() functions which should meet your needs.


Jeroen


_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to