Re: Transaction-scope advisory locks
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: pgsql-hackers@postgresql.org
Cc: Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>, Szymon Guz <mabewlun@gmail.com>
Date: 2010-12-14T12:07:09Z
Lists: pgsql-hackers
On Tuesday 14 December 2010 00:14:22 Marko Tiikkaja wrote: > The lock space is the same though, but I don't feel strongly about it. I feel strongly that it needs the same locking space. I pretty frequently have the need for multiple clients trying to acquiring a lock in transaction scope (i.e. for accessing the cache) and one/few acquiring it in session scope (for building the cache). Andres