Thread: [GENERAL] advisory locks namespace?

[GENERAL] advisory locks namespace?

From
Rob Nikander
Date:
Hi,

Am I right if two applications use advisory locks in the same database, they need to know which lock numbers are used
toby the other application, to avoid conflicts?  

Rob

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] advisory locks namespace?

From
John R Pierce
Date:
On 9/17/2017 1:33 PM, Rob Nikander wrote:
> Am I right if two applications use advisory locks in the same database, they need to know which lock numbers are used
toby the other application, to avoid conflicts?
 


indeed.       it also depends if they want to honor each others locks.

-- 
john r pierce, recycling bits in santa cruz



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general