pgcat.minimal.toml 430 B

12345678910111213141516171819202122
  1. # This is an example of the most basic config
  2. # that will mimic what PgBouncer does in transaction mode with one server.
  3. [general]
  4. host = "0.0.0.0"
  5. port = 6433
  6. admin_username = "pgcat"
  7. admin_password = "pgcat"
  8. [pools.pgml.users.0]
  9. username = "postgres"
  10. password = "postgres"
  11. pool_size = 10
  12. min_pool_size = 1
  13. pool_mode = "transaction"
  14. [pools.pgml.shards.0]
  15. servers = [
  16. ["127.0.0.1", 28815, "primary"]
  17. ]
  18. database = "postgres"