On Thu, September 6, 2007 05:44, Shannon Allen wrote:
> Update:
>
> Getting closer. I can now get the size of the lostream and it matches
> the size of the file before I put it into the BLOB. The problem I'm
> having now is when I go to write the lostream back out to a file, in
> Linux whenever I do a cmp originalfile newfile, it says that they are
> different ("differ: byte 2590721, line 35"). But the sizes match
> exactly. Anyone have any idea??
Hmm... Unwanted encoding conversion maybe? This stuff has long been
flushed out of my mental cache, but maybe the LO stream classes need to
add an ios::binary option somewhere. :-/
Jeroen
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general