Thread: postgresql7.0 jdbc driver

postgresql7.0 jdbc driver

From
"Anand Raman"
Date:
Hi guys
I tried compliling JDBC 1.2 driver for postgresql7.0 .. However things didnt work out as expected..
Can anybody please send it to me thru a personal email.. The site has a version of postgresql.jar
but then it was compiled for 6.5.2.. Can i use the same jar file or do i need to get a seperate one
for 7.0
Any help will be appreciated
Bye
Anand


Re: postgresql7.0 jdbc driver

From
Bruce Momjian
Date:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi guys I tried compliling JDBC 1.2 driver for postgresql7.0 ..
> However things didnt work out as expected..  Can anybody please
> send it to me thru a personal email.. The site has a version of
> postgresql.jar but then it was compiled for 6.5.2.. Can i use
> the same jar file or do i need to get a seperate one for 7.0
> Any help will be appreciated Bye Anand
>
>

We were discussing it just today.  We hope to have the web site updated
soon.  Can you describe the problem you are having?

--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: postgresql7.0 jdbc driver

From
Tom Cook
Date:
On Tue, 2 May 2000, Anand Raman wrote:

> Hi guys
> I tried compliling JDBC 1.2 driver for postgresql7.0 .. However things didnt work out as expected..

Hmmm, a descriptive type. _What_ went wrong?

> Can anybody please send it to me thru a personal email.. The site has a version of postgresql.jar
> but then it was compiled for 6.5.2.. Can i use the same jar file or do i need to get a seperate one
> for 7.0
> Any help will be appreciated
> Bye
> Anand
>
>

--
Tom Cook - Software Engineer

"Never criticize a man until you've walked a mile in his shoes; that way,
when you criticize him, you're a mile away and have his shoes."
    - A froggy bloke on a news group.

LISAcorp - www.lisa.com.au

--------------------------------------------------
38 Greenhill Rd.          Level 3, 228 Pitt Street
Wayville, SA, 5034        Sydney, NSW, 2000

Phone:   +61 8 8272 1555  Phone:   +61 2 9283 0877
Fax:     +61 8 8271 1199  Fax:     +61 2 9283 0866
--------------------------------------------------


Re: postgresql7.0 jdbc driver

From
"Anand Raman"
Date:
HI guys
Thanx for the quick reply..

When i tried compiling jdbc for postgresql700 I encounter the following error

postgres@localhost > make jdbc1
(echo "package postgresql;" ;\
 echo "public class DriverClass {" ;\
 echo "public static String connectClass=\"postgresql.jdbc1.Connection\";" ;\
 echo "}" \
) >postgresql/DriverClass.java
make[1]: Entering directory `/usr/src/postgresql-7.0beta5/src/interfaces/jdbc'
javac -g postgresql/DriverClass.java
javac -g postgresql/Connection.java
postgresql/Connection.java:447: Wrong number of arguments in constructor.
                fields[i] = new Field(this, typname, typid, typlen, typmod);
                            ^
1 error
make[1]: *** [postgresql/Connection.class] Error 1
make[1]: Leaving directory `/usr/src/postgresql-7.0beta5/src/interfaces/jdbc'
make: *** [jdbc1] Error 2

same is the case with $ make jdbc2

Thanx for the assitance
Anand Raman



----- Original Message -----
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Anand Raman <araman@india-today.com>
Cc: <pgsql-general@postgresql.org>
Sent: Tuesday, May 02, 2000 6:49 PM
Subject: Re: [GENERAL] postgresql7.0 jdbc driver


> [Charset iso-8859-1 unsupported, filtering to ASCII...]
> > Hi guys I tried compliling JDBC 1.2 driver for postgresql7.0 ..
> > However things didnt work out as expected..  Can anybody please
> > send it to me thru a personal email.. The site has a version of
> > postgresql.jar but then it was compiled for 6.5.2.. Can i use
> > the same jar file or do i need to get a seperate one for 7.0
> > Any help will be appreciated Bye Anand
> >
> >
>
> We were discussing it just today.  We hope to have the web site updated
> soon.  Can you describe the problem you are having?
>