I'm attaching a patch which fixes the corruption in strings caused

Bruce Momjian <bruce@momjian.us>

Commit: 6e63468f3a6a4bd00e83cf76e6197ed7d066d0c5
Author: Bruce Momjian <bruce@momjian.us>
Date: 2001-09-17T15:54:50Z
Releases: 7.2.1
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.

Thomas O'Dowd

Files

PathChange+/−
src/interfaces/jdbc/org/postgresql/Statement.java modified +75 −20