| От | Tom Lane |
|---|---|
| Тема | Re: Postgres 8.3.1 RowExclusiveLock With JDBC XA |
| Дата | |
| Msg-id | 11484.1220923829@sss.pgh.pa.us обсуждение |
| Ответ на | Postgres 8.3.1 RowExclusiveLock With JDBC XA ("Urciolo, Kevin" <Kevin.Urciolo@ngc.com>) |
| Список | pgsql-general |
"Urciolo, Kevin" <Kevin.Urciolo@ngc.com> writes:
> I am having a problem where row exclusive locks are causing applications
> and vacuums to hang. I shutdown all applications, but the locks remain.
> I stop and start postgres, but the locks are still there. A pid is not
> listed. This problem started showing up after switching to the XA
> datasource with the Postgres JDBC driver. Is this causing problems?
The null PID fields indicate that these locks are being held by
uncommitted prepared transactions, so the pg_prepared_xacts view might
give you useful info. I concur that this suggests an XA problem.
You might have better luck asking about that in the pgsql-jdbc list.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера