Patch for Statement Escape Processing problems - Mailing list pgsql-jdbc

From Thomas O'Dowd
Subject Patch for Statement Escape Processing problems
Date
Msg-id 20010910172717.X2011@beast.uwillsee.com
Whole thread Raw
In response to Re: Re: Escape Processing problems  ("Thomas O'Dowd" <tom@nooper.com>)
Responses Re: Patch for Statement Escape Processing problems
Re: Patch for Statement Escape Processing problems
Re: Patch for Statement Escape Processing problems
List pgsql-jdbc
Hi all,

I'm attaching a patch which fixes the corruption in strings caused
by escape processing in the SQL statement. I've tested this for a
while now and it appears to work well. Previously string data
with {d was getting corrupt as the {d was being stripped regardless
of whether it was an escape code or not.

I also added checking for time and timestamp escape processing strings
as per 11.3 in the specification. The patch is against the latest
CVS.

Cheers,

Tom.

Attachment

pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: [HACKERS] Troubles using German Umlauts with JDBC
Next
From: Bruce Momjian
Date:
Subject: Re: Fix DatabaseMetaDataTest in JDBC test suite