Lock and unlock registry

Поиск
Список
Период
Сортировка
От carlos gustavo
Тема Lock and unlock registry
Дата
Msg-id 7ba6a810711160932v2fc648c7l8974ea5d94e78ce0@mail.gmail.com
обсуждение исходный текст
Ответы Re: Lock and unlock registry  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hello,

My problem:
1. I have a application accessing Postgres 8.2 using NHibernate 3.
2. Using hibernate I lock a registry using the function 'nhibernate.lockmode.upgradenowait'. Ok, its worked.
3. I remove my ethernet cable and lost the connection with Postgres.
4. The registry I locked before remove the cable, continue locked forever!

Question:
How can Postgres detect the connection lost and remove all locks made by this connection? It's a configuration in Postgres or have another way to lock a registry?

Thanks.

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

Предыдущее
От: "Sean Davis"
Дата:
Сообщение: [OT] Installing 8.3beta on debian (stable)
Следующее
От: "Andrew Hammond"
Дата:
Сообщение: Re: [Slony1-general] 2 problems