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'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

panchenko/pgjdbc,panchenko/pgjdbc,jorsol/pgjdbc,golovnin/pgjdbc,zemian/pgjdbc,jkutner/pgjdbc,jamesthomp/pgjdbc,bocap/pgjdbc,jorsol/pgjdbc,jkutner/pgjdbc,rjmac/pgjdbc,whitingjr/pgjdbc,davecramer/pgjdbc,sehrope/pgjdbc,amozhenin/pgjdbc,jorsol/pgjdbc,schlosna/pgjdbc,lordnelson/pgjdbc,pgjdbc/pgjdbc,zapov/pgjdbc,davecramer/pgjdbc,jamesthomp/pgjdbc,ekoontz/pgjdbc,marschall/pgjdbc,bocap/pgjdbc,sehrope/pgjdbc,Gordiychuk/pgjdbc,underyx/pgjdbc,phillipross/pgjdbc,rjmac/pgjdbc,whitingjr/pgjdbc,phillipross/pgjdbc,davecramer/pgjdbc,lonnyj/pgjdbc,marschall/pgjdbc,alexismeneses/pgjdbc,jkutner/pgjdbc,phillipross/pgjdbc,bocap/pgjdbc,underyx/pgjdbc,amozhenin/pgjdbc,ekoontz/pgjdbc,AlexElin/pgjdbc,marschall/pgjdbc,golovnin/pgjdbc,tivv/pgjdbc,lordnelson/pgjdbc,panchenko/pgjdbc,Gordiychuk/pgjdbc,thkoch2001/libpostgresql-jdbc-java,golovnin/pgjdbc,zapov/pgjdbc,zapov/pgjdbc,pgjdbc/pgjdbc,AlexElin/pgjdbc,thkoch2001/libpostgresql-jdbc-java,alexismeneses/pgjdbc,sehrope/pgjdbc,thkoch2001/libpostgresql-jdbc-java,marschall/pgjdbc,Gordiychuk/pgjdbc,underyx/pgjdbc,whitingjr/pgjdbc,pgjdbc/pgjdbc,jamesthomp/pgjdbc,zemian/pgjdbc,davecramer/pgjdbc,sehrope/pgjdbc,tivv/pgjdbc,jorsol/pgjdbc,lonnyj/pgjdbc,schlosna/pgjdbc,zemian/pgjdbc,lordnelson/pgjdbc,rjmac/pgjdbc,pgjdbc/pgjdbc,amozhenin/pgjdbc,AlexElin/pgjdbc