Re: Re: [HACKERS] JDBC adaptor issue - Mailing list pgsql-jdbc

From Bruce Momjian
Subject Re: Re: [HACKERS] JDBC adaptor issue
Date
Msg-id 200107111743.f6BHhs817911@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] JDBC adaptor issue  (Barry Lind <barry@xythos.com>)
List pgsql-jdbc
> Actually the problem is worse than I thought.  Not only do all the
> get/setXXXStream methods assume the datatype is a BLOB, but also the
> get/setBytes methods.  This means that it isn't possible to support
> bytea as the binary datatype without also breaking some backward
> compatability.
>
> In looking at the CVS log, it appears that the stream methods were only
> introduced in the 7.1 JDBC driver, since 7.1 has only been out
> (production) a few months, the number of people affected will be
> smaller, the setBytes() method that assumed a blob was there in 7.0, so
> it is likely more people will be impacted by any change there.

If you are looking for votes, you can break backward compatibility here.

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

pgsql-jdbc by date:

Previous
From: "Dejan Vucinic"
Date:
Subject: can't write a BLOB, 7.1.2
Next
From: Peter Eisentraut
Date:
Subject: RE: jdbc and unix signals