Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Barry Lind <barry(at)xythos(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....
Date: 2001-05-09 03:20:21
Message-ID: 200105090320.f493KM722702@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Yes, got it.

> Bruce,
>
> You should be able to remove this item from your patches list. You
> applied a patch that fixed the root problem today. That patch to
> org/postgresql/jdbc1/Statement.java added a missing parenthesis. That
> fixes the bug. The further sugestion in the below mail note (to declare
> the object as a org.postgresql.ResultSet instead of the 11 casts) is a
> different way to fix the same problem. But since the bug is fixed I
> don't see a reason to keep this item on the patches list.
>
> thanks,
> --Barry
>
> Bruce Momjian wrote:
>
> >>> Comments?
> >>
> >> The extra parenthesis are required (since java.sql.ResultSet doesn't
> >> have a method 'reallyResultSet()' which returns an object which can be
> >> succesfully cast as a 'org.postgresql.ResultSet), but I think it would be
> >> cleaner just to declare 'result' as 'org.postgresql.ResultSet' on line 27,
> >> that way none of the messy casts (of which there are 11) would be
> >> required..
> >
> >
> > I can apply a patch, but it is beyond my ability to code that.
> >
>
>

--
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 Alessio Bragadini 2001-05-09 07:18:12 Re: Outstanding patches
Previous Message Barry Lind 2001-05-09 03:16:50 Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....