Thread: DatabaseMetaData.getIndexInfo() throws exceptions

DatabaseMetaData.getIndexInfo() throws exceptions

From
André Rothe
Date:
Hi!

During the development of an application, I found three bugs in the
jdbc driver of postgresql (version 7.2 for Java2).

I used the method DatabaseMetaData.getIndexInfo() and I was
surprised, as an exception occured.
After I had decompiled the driver classes with JODE (sorry!),
I developed a workaround for my application.

Please check my changes and write me, if they are correct.
I've commented the changes on the.java file (see attachment).

Thanks
Andy

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

Attachment

Re: DatabaseMetaData.getIndexInfo() throws exceptions

From
Dave Cramer
Date:
Andre,

Thanks very much for corrections. I had a look at the existing code in
the repository and 2 out of 3 of the corrections are already fixed. The
one that isn't is the change to the select statement.

You don't need to decompile the driver to get the source; you can check
it out of the repository.

Please submit a context diff for your corrections.

Thanks,

Dave

On Sun, 2002-04-07 at 16:44, André Rothe wrote:
> Hi!
>
> During the development of an application, I found three bugs in the
> jdbc driver of postgresql (version 7.2 for Java2).
>
> I used the method DatabaseMetaData.getIndexInfo() and I was
> surprised, as an exception occured.
> After I had decompiled the driver classes with JODE (sorry!),
> I developed a workaround for my application.
>
> Please check my changes and write me, if they are correct.
> I've commented the changes on the.java file (see attachment).
>
> Thanks
> Andy
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
> ----
>

>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org