|
What I had to
do was use fopen in binary mode and write the data to a file on the computer
and then open that new file. Worked like a charm. And yes use
the c_str function when writing the data to a file! From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Kubach I'm using libpqxx 2.5.5 and I'm trying to retrieve binary data from a
database. What's the best way to do this? I'm using the c_str
function, but I'm getting '\' in the data that aren't there. Are there
any methods to get the raw data from the sql query? |
_______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
