Обсуждение: [GENERAL] advisory locks namespace?

Поиск
Список
Период
Сортировка

[GENERAL] advisory locks namespace?

От
Rob Nikander
Дата:
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?

От
John R Pierce
Дата:
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