One connection held out of the pool for the caller's exclusive use, so SESSION-scoped state — advisory locks, SET — survives across statements.
SET
Return the connection to the pool. Idempotent; the handle dies with it.
One connection held out of the pool for the caller's exclusive use, so SESSION-scoped state — advisory locks,
SET— survives across statements.