Open
Description
I have found these related issues/pull requests
Relates to #3495
Description
As documented here.
The PgAdvisoryLock
documentation has some language suggesting that the API should support shared locking, but it does not currently support it.
Prefered solution
I'm guessing we just need separate acquire_shared
and acquire_exclusive
methods on PgAdvisoryLock
.
Should be compatible with #3495
Is this a breaking change? Why or why not?
Depends. I'd like to have an explicitly named acquire_exclusive
method, which is different from the current acquire
name. We could just deprecate the old one.
But #3495 is breaking, and I'd prefer to have that merged first.