Hello,
I don't know the correct way to post patches so I will try this.
I have found the following bug:
When I try to insert strings using class PreparedStatement from JDBC with
non-printable chars it sometimes fail. During my investigations I have found
that current version of PreparedStatement quotes only ' (ampersand) and \
(slash). I have made some changes and now PreparedStatement change all
non-printable (possible some printable too) chars to \xxx where xxx is octal
code of char.
folder : src/interfaces/jdbc/org/postgresql/jdbc2
file : PreparedStatement.java