Re: pg_locks view and user locks - Mailing list pgsql-hackers

From Paul Tillotson
Subject Re: pg_locks view and user locks
Date
Msg-id 414635F0.5080704@shentel.net
Whole thread Raw
In response to Re: pg_locks view and user locks  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_locks view and user locks  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
This is the first I have ever heard "user locks," but I have more than 
once wanted a lock that would persist beyond the end of a transaction.  
Do these do that?

Paul

>"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
>  
>
>>... is there any merit to promoting the user lock wrappers out of contrib
>>    
>>
>
>Dunno.  Yours is the first message I can recall in quite a long time
>indicating that anyone was using userlocks.  I thought the code was kind
>of dying on the vine.  Of course it's hard to tell whether that's not
>just *because* it's in contrib and not mainstream.  But personally I'd
>like to see some more evidence of use before we promote it.  (And yeah,
>the API could probably use some cleanup first.)
>
>            regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faqs/FAQ.html
>
>
>  
>



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Cleaning up recovery from subtransaction start failure
Next
From: Alvaro Herrera
Date:
Subject: Re: pg_locks view and user locks