Function PostgresClient.pickConnection

Use connection from the pool.

T pickConnection(T) (
  scope T delegate(scope LockedConnection conn) dg
);

Same as lockConnection but automatically maintains initiation of reestablishing of connection by calling .reset()

Returns

Value returned by delegate or void