What it flags
A recognizable session advisory lock inpg.Pool.query(), or an ordinary release of a visible local checkout that still holds a session advisory lock.
How to review or fix
Run the protected work on one checked-out client. Unlock on that client before releasing it and discard the connection when cleanup fails. Transaction-scoped advisory locks have a separate lifetime tied to the transaction.Configuration
Set the rule to"off" in loadwise.config.json to drop its findings: