Skip site navigation (1) Skip section navigation (2)

Re: PG7.1b5 .debs (fwd)

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: pgsql-interfaces(at)postgresql(dot)org
Cc: Peter Mount <peter(at)retep(dot)org(dot)uk>
Subject: Re: PG7.1b5 .debs (fwd)
Date: 2001-03-14 06:27:08
Message-ID: 200103140627.f2E6R9G27043@linda.lfix.co.uk (view raw or flat)
Thread:
Lists: pgsql-interfaces
I raised the question of my compile failures on the Debian lists and got
this reply:

------- Forwarded Message

Date:    13 Mar 2001 23:48:51 +0100
From:    Juergen Kreileder <jk(at)blackdown(dot)de>
To:      "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
cc:      Stefan Gybas <stefan(at)gybas(dot)com>, debian-postgresql(at)cochrane(dot)atnet(dot)at,
	 debian-java(at)lists(dot)debian(dot)org
Subject: Re: PG7.1b5 .debs

>>>>> "Oliver" == Oliver Elphick <olly(at)lfix(dot)co(dot)uk> writes:

    Oliver>     [javac] /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/sr
c/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Missing term.
    Oliver>     [javac]           if (result != null) && ((org.postgresql.Resul
tSet)result.reallyResultSet())

That's illegal code, try:

if (result != null && ((org.postgresql.ResultSet) result).reallyResultSet())

    Oliver> I can't see anything wrong with the code and assume it
    Oliver> must be something to do with my setup.

From looking at cvsweb, I would say the code is broken since version 1.5:
http://www.postgresql.org/cgi/cvsweb.cgi/pgsql/src/interfaces/jdbc/org/postgres
ql/jdbc1/Statement.java.diff?r1=1.4&r2=1.5


        Juergen

- -- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
JVM'01: http://www.usenix.org/events/jvm01/


------- End of Forwarded Message


-- 
Oliver Elphick                                Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Let your light so shine before men, that they may see 
      your good works, and glorify your Father which is in 
      heaven."         Matthew 5:16 



pgsql-interfaces by date

Next:From: Horst HerbDate: 2001-03-14 07:06:29
Subject: libpq++ fo Windows with mingw
Previous:From: Tom LaneDate: 2001-03-14 05:52:06
Subject: Re: libpq PQstatus problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group