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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-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

Browse pgsql-jdbc by date

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

Browse pgsql-patches by date

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