Re: Transaction-scope advisory locks - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: Transaction-scope advisory locks
Date
Msg-id 871v5kaaom.fsf@hi-media-techno.com
Whole thread Raw
In response to Transaction-scope advisory locks  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
List pgsql-hackers
Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi> writes:
> I often find myself wanting advisory locks that are automatically released
> when the transaction ends, so here's a small patch trying to do just that.

Excellent idea, I sure need that (been doing some pl stuff to track
locks granted then unlock them, transaction scope would mean pure SQL
function work). Thanks! :)

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: pg_execute_from_file, patch v10
Next
From: Andres Freund
Date:
Subject: Re: Transaction-scope advisory locks