Function PostgresClient.lockConnection

Get connection from the pool.

vibe.core.connectionpool.LockedConnection!(vibe.db.postgresql.Dpq2Connection) lockConnection();

Do not forgot to call .reset() for connection if ConnectionException was caught while using LockedConnection!