Re: Patch for Statement Escape Processing problems

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Thomas O'Dowd" <tom(at)nooper(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Patch for Statement Escape Processing problems
Date: 2001-09-17 15:54:52
Message-ID: 200109171554.f8HFsq510915@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Patch applied. Thanks.

> 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, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2001-09-17 15:56:08 Re: isNullable()
Previous Message Nick Fankhauser 2001-09-17 14:04:22 Re: newbie question: loading the jdbc driver & connecting to my db