]> granicus.if.org Git - postgresql/commit
I'm attaching a patch which fixes the corruption in strings caused
authorBruce Momjian <bruce@momjian.us>
Mon, 17 Sep 2001 15:54:50 +0000 (15:54 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 17 Sep 2001 15:54:50 +0000 (15:54 +0000)
commit6e63468f3a6a4bd00e83cf76e6197ed7d066d0c5
treecf255363689486c8c8a55d1555c2bb9a646f5fd5
parentc6cb8701db20245631d6f16c19d98ea3059798b2
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
src/interfaces/jdbc/org/postgresql/Statement.java