On Fri, July 13, 2007 17:55, Peter Schuller wrote: > In order to make the table writer work in the case of inserting binary > data into a byteaa column I had to further make this modification: > > - R += '\\'; > + R += "\\\\"; > > Note that one specifically should not do this in the escaped character > case (i.e., newlines are \n, not \\n), which is consistent with the > above mentioned theory on escaping.
Okay, I've made the change. As it happens, I believe this very issue came up in the pgsql-hackers list in the past few days, but I did not have time to read the posts. One thing was not 100% clear to me from your message: is a nul byte "\000" or "\\000"? Jeroen _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
