meteficha/postgresql-simple — comment on commit f096fb7796b9397c92c8639c6842d73130d3c5b5
File:  line 0
By lpsmith:

Yeah, I would bet that you are testing with PostgreSQL < 9.1 without standard_conforming_strings on, and that you are round-tripping through a string type instead of the bytea type.