with_advisory_lock
with_advisory_lock copied to clipboard
Don't fail lock release if the connection was disconnected
If the connection is broken, then the lock was released because the session is aborted. Thus there is no need to fail.