Обсуждение: Re: Re: [PATCHES] Array Support Fix

Поиск
Список
Период
Сортировка

Re: Re: [PATCHES] Array Support Fix

От
Bruce Momjian
Дата:
> 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@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: Re: [PATCHES] Array Support Fix

От
"Dave Cramer"
Дата:
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@candle.pha.pa.us]
Sent: August 21, 2001 9:30 PM
To: dave@fastcrypt.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@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