Lock and unlock registry - Mailing list pgsql-novice

From carlos gustavo
Subject Lock and unlock registry
Date
Msg-id 7ba6a810711160932v2fc648c7l8974ea5d94e78ce0@mail.gmail.com
Whole thread Raw
Responses Re: Lock and unlock registry  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: "Sean Davis"
Date:
Subject: [OT] Installing 8.3beta on debian (stable)
Next
From: "Andrew Hammond"
Date:
Subject: Re: [Slony1-general] 2 problems