New JDBC Driver Patch

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема New JDBC Driver Patch
Дата
Msg-id Pine.LNX.3.96.981007222624.496b-100000@maidast.retep.org.uk
обсуждение исходный текст
Список pgsql-interfaces
I've just posted to the patches list, a patch that finally brings Thread
safety to the driver.

This is mainly of use for Servlet authors, as they don't need to manage a
pool of open connections any more, but they can use a single connection
without the risk of the backend getting confused.

The patch accomplishes this by syncronising network activity to the
PG_Stream object, which is unique for each active connection. Both the
Connection.ExecSQL() and FastPath.fastpath() methods do this, and so far,
my tests haven't yet broken it.

Peter

--
       Peter T Mount peter@retep.org.uk
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf


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

Предыдущее
От: Josh Friess
Дата:
Сообщение: just noticed something about libpq++ linking...
Следующее
От: Jun Kuwamura
Дата:
Сообщение: [pgsql-jp 5574] Re: Is array_iterator.c work? (fwd)