Thread: org.postgresql.Connection#EscapeSQL and {d

org.postgresql.Connection#EscapeSQL and {d

From
"K. Ari Krupnikov"
Date:
This was discussed some time ago
http://archives.postgresql.org/pgsql-jdbc/2001-08/msg00356.php

What came of it?

The production 7.1 driver I'm using is throwing
StringIndexOutOfBoundsException's because my input contains this
sequence and no '}' and in any case, I want to keep the braces.

Has the suggested patch been incorporated into the driver? Have I missed
the end of that thread?

Ari.

Re: org.postgresql.Connection#EscapeSQL and {d

From
"Dave Cramer"
Date:
Ari,

It would seem that Barry has incorporated the new code into the driver.
The 7.2 driver will work with your 7.1 database, so I would suggest
downloading the new driver and testing it.

Dave

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of K. Ari Krupnikov
Sent: Wednesday, December 26, 2001 7:03 PM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] org.postgresql.Connection#EscapeSQL and {d


This was discussed some time ago
http://archives.postgresql.org/pgsql-jdbc/2001-08/msg00356.php

What came of it?

The production 7.1 driver I'm using is throwing
StringIndexOutOfBoundsException's because my input contains this
sequence and no '}' and in any case, I want to keep the braces.

Has the suggested patch been incorporated into the driver? Have I missed
the end of that thread?

Ari.

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly



Re: org.postgresql.Connection#EscapeSQL and {d

From
Barry Lind
Date:
I believe this has been fixed.  Can you verify with the latest drivers
from jdbc.postgresql.org? (you can use the 7.2 drivers as they are
backwardly compatible with 7.1).

thanks,
--Barry

K. Ari Krupnikov wrote:

> This was discussed some time ago
> http://archives.postgresql.org/pgsql-jdbc/2001-08/msg00356.php
>
> What came of it?
>
> The production 7.1 driver I'm using is throwing
> StringIndexOutOfBoundsException's because my input contains this
> sequence and no '}' and in any case, I want to keep the braces.
>
> Has the suggested patch been incorporated into the driver? Have I missed
> the end of that thread?
>
> Ari.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
>