X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 036318B9B90 for ; Thu, 17 Feb 2005 19:38:37 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 19635-04 for ; Thu, 17 Feb 2005 19:38:32 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 6769C8B9B1B for ; Thu, 17 Feb 2005 19:38:31 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1D1rTk-0002yD-00; Fri, 18 Feb 2005 08:38:24 +1300 Message-ID: <4214F2AE.1090706@opencloud.com> Date: Fri, 18 Feb 2005 08:38:22 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0 (X11/20041228) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Wong, RYM (Richard)" Cc: "pgsql-jdbc@postgresql.org" Subject: Re: JDBC driver References: <4CCDA61615BC0342B52F3D30F88134E20AC945@exchange31.fed.cclrc.ac.uk> In-Reply-To: <4CCDA61615BC0342B52F3D30F88134E20AC945@exchange31.fed.cclrc.ac.uk> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/123 X-Sequence-Number: 12303 Wong, RYM (Richard) wrote: > It is part of the postgresql-7.4.3 package. > When I run the config command with the flag '--with-java' and then run 'gmake', the whole > suite of jdbc is generated automatically. > I suppose the full version of jdbc is 7.4.3. Ah, ok. This is very old code. It predates 1.5 and so it's not too suprising that it doesn't build under 1.5. I suggest you build from source available at jdbc.postgresql.org or use a prebuilt jar from the same location. Don't pass --with-java to avoid trying to build the driver provided with 7.4.3 (that flag only triggers the driver build -- it does not change how the server or client utils are built). I'd also suggest you use the latest 7.4.x server, not 7.4.3. There are data-loss bugs that have been fixed since 7.4.3. -O