Re: [INTERFACES] Re: [PATCHES] Re: Fixes and enhancements to JDBC driver(take 2)

Поиск
Список
Период
Сортировка
От Richard Bullington-McGuire
Тема Re: [INTERFACES] Re: [PATCHES] Re: Fixes and enhancements to JDBC driver(take 2)
Дата
Msg-id Pine.LNX.4.31.0102020918310.26006-200000@polymorphic.microstate.com
обсуждение исходный текст
Ответ на Re: [INTERFACES] Re: [PATCHES] Re: Fixes and enhancements to JDBC driver(take 2)  (Peter T Mount <peter@retep.org.uk>)
Ответы Re: Re: [INTERFACES] Re: [PATCHES] Re: Fixes and enhancements to JDBC driver(take 2)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-jdbc
On Fri, 2 Feb 2001, Peter T Mount wrote:

> > What is the final resolution of this for 7.1?  I noticed that you have
> > essentially commented out the byte array pooling code in current
> > sources.  Given that 7.1 is rapidly coming to a close, is this
> > something
> > that is expected to get fixed and reenabled for 7.1, or is this going
> > to wait for 7.2.
>
> I commented it out to make sure that when 7.1 was released the driver
> would at least work (with it enabled we would have one broken driver).

At Microstate, we fixed the byte pooling code when it was still in
PG_Stream. We patched this and submitted our patch to pgsql-patches, and
it was accepted.  It did have some nasty off-by-one errors. It does not
look like the fixes we did made it into the new, separate
org.postgresql.core.BytePoolDim[12] classes.

We've been using this code on an application with many tens of thousands
of queries per day for more than a month without any problems.

I've attached the production PG_Stream.java class that we've been using.

 --
 Richard Bullington-McGuire  <rbulling@microstate.com>
 Chief Technology Officer, The Microstate Corporation
 Phone: 703-796-6446  URL: http://www.microstate.com/
 PGP key IDs:    RSA: 0x93862305   DH/DSS: 0xDAC3028E


Вложения

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Peter T Mount
Дата:
Сообщение: Re: [INTERFACES] JDBC documentation
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: [INTERFACES] Re: [PATCHES] Re: Fixes and enhancements to JDBC driver(take 2)