Re: confused about transactions and connection pools

Поиск
Список
Период
Сортировка
Искать
От
Kris Jurka
Тема
Re: confused about transactions and connection pools
Дата
Msg-id
Pine.BSO.4.63.0610301337200.2855@leary2.csoft.net
Ответ на
Список
Дерево обсуждения
confused about transactions and connection pools David Goodenough <david.goodenough@btconnect.com>
Re: confused about transactions and connection pools Dave Cramer <pg@fastcrypt.com>
Re: confused about transactions and connection pools David Goodenough <david.goodenough@btconnect.com>
Re: confused about transactions and connection pools Kris Jurka <books@ejurka.com>
Re: confused about transactions and connection pools David Goodenough <david.goodenough@btconnect.com>
Re: confused about transactions and connection pools Kris Jurka <books@ejurka.com>
Re: confused about transactions and connection pools Tom Lane <tgl@sss.pgh.pa.us>
Re: confused about transactions and connection pools Dave Cramer <pg@fastcrypt.com>
Re: confused about transactions and connection pools Oliver Jowett <oliver@opencloud.com>
Re: confused about transactions and connection pools Dave Cramer <pg@fastcrypt.com>
Re: confused about transactions and connection pools Oliver Jowett <oliver@opencloud.com>
Re: confused about transactions and connection pools Kris Jurka <books@ejurka.com>


On Mon, 30 Oct 2006, David Goodenough wrote:

> The we get to the second time through the servlet.  First thing - no BEGIN
> or ROLLBACK, but the code went through a call to connection.setAutoCommit(
> false).  Secondly this odd statement that I do not recognise id no longer
> there.
>

For each connection the statements BEGIN, ROLLBACK, and COMMIT are only 
prepared once and after that they are executed again and again.  This can 
be very confusing when looking at the logs which only show the preparation 
step, but not execution.  So even though you can't see them, they're being 
executed.  The 8.2 release will be the first release that can accurately 
log this usage pattern.

Kris Jurka

В списке pgsql-jdbc по дате отправления
От: Kris Jurka
Дата:
От: Jan de Visser
Дата:
FAQ