An authenticated connection’s identity. Bound at connect time and consulted
on every query by [dispatch_query] to enforce the user’s role: a
readonly principal may only execute read statements.
Gate that serializes wire-protocol statements while an explicit
transaction is open on any connection. The connection that runs begin
keeps an owned permit until commit, rollback, disconnect, or timeout,
preventing other connections from observing or joining uncommitted state.