Expand description
A Postgres client that uses deadpool as a connection pool and comes with common/default configuration options.
Modules§
- error
- PostgresClient-related errors.
- metrics
- Implementation-specific metrics for the internal, pooled Postgres client.
Structs§
- Postgres
Client - A Postgres client wrapper that uses deadpool as a connection pool.
- Postgres
Client Config - Configuration for creating a PostgresClient.
Enums§
- Isolation
Level - The transaction isolation level applied to new connections.
Traits§
- Postgres
Client Knobs - Configuration knobs for PostgresClient.
Type Aliases§
- Isolation
Level Fn - Resolves the isolation level to apply to a connection. It is invoked once per connection creation, so a dyncfg-backed resolver lets a change take effect as the pool cycles connections.