Open
Description
I would expect an insert of the form
run conn "INSERT INTO documents VALUES (?)" [toSql $ data]
to insert the data in the bytestring as is into the table, but instead it does some processing to the data first (unescaping backspace octal sequences, and checking that the data only contains valid utf8 characters).
I have written more details about this at http://stackoverflow.com/questions/20506922/how-do-a-put-binary-data-into-postgres-through-hdbc/20598912 (see the response by jamshidh), including a conversion function that I used to fix the problem.
Metadata
Metadata
Assignees
Labels
No labels