patch for JDBC PreparedStatement - Mailing list pgsql-patches

From Alexander Litvinov
Subject patch for JDBC PreparedStatement
Date
Msg-id 200108121437.f7CEbmG24213@gw.ac-sw.com
Whole thread Raw
List pgsql-patches
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

Attachment

pgsql-patches by date:

Previous
From: Garrett Wollman
Date:
Subject: Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets
Next
From: Barry Lind
Date:
Subject: Re: patch for JDBC PreparedStatement