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

From Oliver Jowett
Subject Re: Exception in thread "main" java.lang.OutOfMemoryError:
Date
Msg-id 44F2B81D.50409@opencloud.com
Whole thread Raw
In response to Re: Exception in thread "main" java.lang.OutOfMemoryError:  (Roland Walter <rwa@mosaic-ag.com>)
Responses Re: Exception in thread "main" java.lang.OutOfMemoryError:  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Roland Walter wrote:
> Roland Walter <rwa@mosaic-ag.com> writes:
>
>>     static String createIndex = "CREATE INDEX xitransaction3 on transaction using btree (cc_trans_id, bc_id)";
>
> The problem was in Jim's create index statement. He used brackets
> instead of parenthesis around the column names. Jim corrected it and
> an OutOfMemoryError did not occur anymore. The statement took about 48
> minutes.

Sounds like there is a bug in the driver's escape sequence parsing
somewhere then. An invalid {...} escape shouldn't cause an OOME.

-O

pgsql-jdbc by date:

Previous
From: Roland Walter
Date:
Subject: Re: Exception in thread "main" java.lang.OutOfMemoryError:
Next
From: "Vidas Makauskas"
Date:
Subject: error: ResultSet.updateObject(timestamp in POSTGRES, DATE(7) in ORACLE )