Transaction-scope advisory locks

From: Marko Tiikkaja <marko(dot)tiikkaja(at)cs(dot)helsinki(dot)fi>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Transaction-scope advisory locks
Date: 2010-12-13 22:52:28
Message-ID: 4D06A3AC.6070502@cs.helsinki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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. I don't know much about the lock system so the patch is in
the state "it looks like this would work". Any comments on the
technical details are welcome. There's obviously a lot of documentation
and READMEs to change too, but I thought I'd see what people think about
the idea before going there.

So, thoughts?

Regards,
Marko Tiikkaja

Attachment Content-Type Size
advisory.patch text/plain 13.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Szymon Guz 2010-12-13 23:08:31 Re: Transaction-scope advisory locks
Previous Message Robert Haas 2010-12-13 22:51:34 Re: proposal : cross-column stats