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

RE: Re: [PATCHES] Array Support Fix

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Bruce Momjian'" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "'PostgreSQL jdbc list'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: RE: Re: [PATCHES] Array Support Fix
Date: 2001-08-22 01:39:09
Message-ID: 013d01c12aab$3d49de70$c201a8c0@inspiron (view raw or flat)
Thread:
Lists: pgsql-jdbcpgsql-patches
The jdbc1 driver is another story. 

The problem is that jdbc1 does not define Types.ARRAY so this constant
isn't available during compile time.

The two solutions I have been able to come up with are

1) make two Field.java files and place them in jdbc1, jdbc2 directories
2) use ants filtering feature to comment out the code in jdbc1.

Any thoughts on two IMO poor solutions, or better yet a good solution ?

Dave

-----Original Message-----
From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us] 
Sent: August 21, 2001 9:30 PM
To: dave(at)fastcrypt(dot)com
Cc: 'PostgreSQL jdbc list'; PostgreSQL-patches
Subject: Re: [JDBC] Re: [PATCHES] Array Support Fix


> Bruce,
> 
> I just checked out the source from cvs and it compiles the version 2 
> drivers fine. Version 1 drivers need some work..
> 

Yes, it compiles now fine too.  Must have been that last patch that
fixed it.

-- 
  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

pgsql-patches by date

Next:From: Tatsuo IshiiDate: 2001-08-22 08:09:50
Subject: Re: encoding names
Previous:From: Bruce MomjianDate: 2001-08-22 01:30:06
Subject: Re: Re: [PATCHES] Array Support Fix

pgsql-jdbc by date

Next:From: Barry LindDate: 2001-08-22 10:28:00
Subject: patch for JDBC1 build problems
Previous:From: Bruce MomjianDate: 2001-08-22 01:30:06
Subject: Re: Re: [PATCHES] Array Support Fix

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