Re: [HACKERS] please? - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: [HACKERS] please?
Date
Msg-id 3752E82A.87EDDF62@trust.ee
Whole thread Raw
In response to Re: [HACKERS] please?  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian wrote:
> Sharing file systems.  Good point.  You could have a table you use to
> lock.  Lock the table, view the value, possibly modify, and unlock.
> This does not handle the case where someone died and did not remove
> their entry from the lock table.

You can always write the modification time to the table as well and if 
it's "too old", then try to override it.

-------Hannu


pgsql-hackers by date:

Previous
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] Open 6.5 items
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] New IP address datatype