Re: Couple of patches for jdbc driver
От | Ned Wolpert |
---|---|
Тема | Re: Couple of patches for jdbc driver |
Дата | |
Msg-id | XFMail.20010821110934.ned.wolpert@knowledgenet.com обсуждение исходный текст |
Ответ на | Re: Couple of patches for jdbc driver (Bruce Momjian <pgman@candle.pha.pa.us>) |
Ответы |
Re: Couple of patches for jdbc driver
|
Список | pgsql-jdbc |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bruce- I checked the 7.1.3 release, and this patch isn't there... but it is in CVS. (You patched this about two months ago.) Specifically, the 1.11 version of jdbc2/PreparedStatment.java file has the patch, but the 7.1.3 released does not. How do we propragate patches into the main branch for releasing? On 11-Jun-2001 Bruce Momjian wrote: > > Patch attached and applied. > > -- Start of PGP signed section. >> Folks- >> >> Got two patches that were found by folks on the Castor list, that we'd >> like to >> submit. These were done for the jdbc2 driver. The first one is for support >> of the Types.BIT in the PreparedStatement class. The following lines need >> to be >> inserted in the switch statment, at around line 530: >> >> >> (Prepared statment, line 554, before the default: switch >> case Types.BIT: >> if (x instanceof Boolean) { >> set(parameterIndex, ((Boolean)x).booleanValue() ? "TRUE" : >> "FALSE"); >> } else { >> throw new PSQLException("postgresql.prep.type"); >> } >> break; >> >> >> The second one is dealing with blobs, >> >> inserted in PreparedStatemant.java (After previous patch line, 558): >> case Types.BINARY: >> case Types.VARBINARY: >> setObject(parameterIndex,x); >> break; >> and in ResultSet.java (Around line 857): >> case Types.BINARY: >> case Types.VARBINARY: >> return getBytes(columnIndex); >> >> >> >> Virtually, >> Ned Wolpert <ned.wolpert@knowledgenet.com> >> >> D08C2F45: 28E7 56CB 58AC C622 5A51 3C42 8B2B 2739 D08C 2F45 > -- End of PGP signed section. > > -- > 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 > Virtually, Ned Wolpert <ned.wolpert@knowledgenet.com> D08C2F45: 28E7 56CB 58AC C622 5A51 3C42 8B2B 2739 D08C 2F45 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7gqPeiysnOdCML0URAp11AJ9SAouQhtGNDo0q3agQp6oD5ML50gCdHe0M NQvY1adpeWIbZ9ONzDkEAH4= =s6U1 -----END PGP SIGNATURE-----
В списке pgsql-jdbc по дате отправления: