Skip to main content

Module postgres

Module postgres 

Source

Functionsยง

build_postgres_election
Builds a Postgres-backed election implementation.
build_postgres_kv_backend
Builds a Postgres-backed metadata [KvBackendRef].
convert_tls_option ๐Ÿ”’
Converts TlsOption to [PgTlsOption] to avoid circular dependencies
create_postgres_pool
Creates a pool for the Postgres backend with config and optional TLS.