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

From: Palle Girgensohn <girgen(at)partitur(dot)se>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Mark Rosa <rosa(at)etekt(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: AGAIN: still no answer ... peter, or anybody knowledgeable,please ....
Date: 2001-05-08 15:31:27
Message-ID: 3AF8114F.5793BCF5@partitur.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

The enclosed patches are from the postgresql7 port for FreeBSD.
They fix makefile problems (and a syntax bug fix for
Statement.java) for java 1.1.x.

/Palle

Bruce Momjian wrote:
>
> > dear all,
> >
> > unfortunately the jdbc1 driver can't be compiled.
> > there are several errors popping up when compiling --with-java and also
> > when i try to compile the jdbc interface individually:
> >
> > i already figured out two mistypings in the Statement.java file in
> > src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java
> >
> > 1. in the first line peter wrote 'nackage' instead of 'package'
>
> I don't see that error in the current sources.
>
> > 2. on line 291 peter wrote
> > if (result != null && ((org.postgresql.ResultSet)result.reallyResultSet())
> > instead of
> > if (result != null && ((org.postgresql.ResultSet)result).reallyResultSet())
>
> The current CVS sources look wrong to me. It has:
>
> if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
>
> Shouldn't this be:
>
> if (result != null && ((org.postgresql.ResultSet)result.reallyResultSet()))
>
> Not sure if the extra parens are needed for:
>
> if (result != null && ((org.postgresql.ResultSet)result).reallyResultSet())
>
> Comments?
>
> --
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

--
Partitur Informationsteknik AB
Wenner-Gren Center +46 8 566 280 02
113 46 Stockholm +46 70 785 86 02
Sweden girgen(at)partitur(dot)se

Attachment Content-Type Size
patch-jdbc-build-xml application/octet-stream 358 bytes
patch-jdbc1-statement application/octet-stream 517 bytes
patch-contrib-retep-build application/octet-stream 350 bytes

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2001-05-08 15:41:35 Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....
Previous Message Michael Stephenson 2001-05-08 15:22:22 Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....