Re: "Idle in Transaction" revisited.

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: "Idle in Transaction" revisited.
Дата
Msg-id 414C0F66.7090507@bigfoot.com
обсуждение исходный текст
Ответ на "Idle in Transaction" revisited.  ("John R Pierce" <pierce@hogranch.com>)
Ответы Re: "Idle in Transaction" revisited.
Список pgsql-jdbc
John R Pierce wrote:

> I'm curious what common practice is for threads that do nothing but 
> SELECTS... do folks just enable auto_commit, thereby preventing pgJDBC 
> from doing BEGIN; ?  Do they lace their code with COMMIT() calls?

We were bitten by this problem too, and my solution was to suggest our
developer to do and explicit: "ABORT" after the connection, and do
explicit "BEGIN"   "END"  instead of rely on the jdbc interface.


Regards
Gaetano Mendola



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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: "Idle in Transaction" revisited.
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: "Idle in Transaction" revisited.