On Thu, July 12, 2007 15:54, Peter Schuller wrote: > So I don't know what I was on; I misread it. It seems to also escape > all high bit bytes - but not NULL bytes. I see no mention of NULL > bytes (only NULL column values) in the PostgreSQL documentation for > COPY, but presume that escaping them as \x00 or \000 would be > supported by the server.
Oops, you're right. I've fixed this in revision [1265]. Thanks for a thorough report. There is a snapshot at http://pqxx.org/~jtv/tmp/pqxx/ but note that it still has some problems, particularly with cursors. Jeroen _______________________________________________ Libpqxx-general mailing list Libpqxx-general@gborg.postgresql.org http://gborg.postgresql.org/mailman/listinfo/libpqxx-general