Re: Idle in transaction state.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Idle in transaction state.
Дата
Msg-id 22969.1157849374@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Idle in transaction state.  ("Peter L. Berghold" <Peter@berghold.net>)
Ответы Re: Idle in transaction state.
Список pgsql-general
"Peter L. Berghold" <Peter@berghold.net> writes:
> What I'm seeing is the first time my web application is being run there
> is a bunch of processes running around that look like:
> "postgres: peter peter_trialdb 127.0.0.1(46222) idle"

"idle" is fine, "idle in transaction" is not so fine, because those
might be holding locks that block things like schema changes.  You need
to figure out why your client-side code isn't closing out its
transactions promptly.

You'd probably be better off asking on the pgsql-jdbc list about this,
as the folks likely to know about Java-stack issues hang out there.

            regards, tom lane

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

Предыдущее
От: Jack Orenstein
Дата:
Сообщение: How to use SPI_saveplan
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Is this logical?