Crate pgcat_config

Crate pgcat_config 

Source
Expand description

PgCat configuration.

See individual structs for more details on each setting.

Structs§

Admin
Admin database settings.
AdminUser
User allowed to connect to the admin database.
Config
The configuration file.
Database
PostgreSQL database proxied by PgCat.
General
General settings that apply to all databases.
LoadBalancing
Network
Network settings for clients and servers. This like TCP timeouts are configured here.
Server
A Postgres server.
Shard
A set of Postgres servers that evenly split the database using one of our supported sharding functions.
Sharding
Sharding configuration for a database.
User

Enums§

AuthMethod
LoadBalancingAlgorithm
LogFormat
Log format used for the pgcat log.
PoolMode
Connection multiplexing algorithm.
ServerRole
The role the Postgres server occupies in our routing hierarchy.
ShardingFunction

Functions§

from_database_url