Re: Exception in thread "main" java.lang.OutOfMemoryError: - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Exception in thread "main" java.lang.OutOfMemoryError:
Date
Msg-id Pine.BSO.4.63.0609252342410.10572@leary2.csoft.net
Whole thread Raw
In response to Re: Exception in thread "main" java.lang.OutOfMemoryError:  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc

On Wed, 30 Aug 2006, Kris Jurka wrote:

> On Mon, 28 Aug 2006, Oliver Jowett wrote:
>
>> Sounds like there is a bug in the driver's escape sequence parsing
>> somewhere then. An invalid {...} escape shouldn't cause an OOME.
>>
>
> Indeed.  The attached patch fixes this case for me.  In general the
> handling of escapes that aren't correct doesn't look great and should
> probably be looked at it the future.  For example the fact that it only
> checks the first letter of some escapes and doesn't complain if the
> second isn't found doesn't look good.  Anyway as gborg is down, cvs is
> down, so I'll commit this one later.
>

Applied to 8.0, 8.1 and HEAD.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Bind message
Next
From: Kris Jurka
Date:
Subject: Re: FAQ update patch