patch for JDBC PreparedStatement

From: Alexander Litvinov <lan(at)ac-sw(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: patch for JDBC PreparedStatement
Date: 2001-08-12 14:40:13
Message-ID: 200108121437.f7CEbmG24213@gw.ac-sw.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc 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 Content-Type Size
PreparedStatement.java.patch text/x-diff 1.1 KB

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2001-08-12 16:31:41 Re: [JDBC] JDBC pg_description update needed for CVS tip
Previous Message Rene Pijlman 2001-08-12 08:49:36 Re: [JDBC] JDBC pg_description update needed for CVS tip

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2001-08-12 16:23:38 Re: Re: [PATCHES] Select parser at runtime
Previous Message Rene Pijlman 2001-08-12 08:49:36 Re: [JDBC] JDBC pg_description update needed for CVS tip