[databases]
postgres = host=127.0.0.1 port=7432 pool_size=6
template1 = host=127.0.0.1 port=7432 pool_size=6
postgres_replica = host=127.0.0.1 port=8432 pool_size=6 dbname=postgres
template1_replica = host=127.0.0.1 port=8432 pool_size=6 dbname=template1

[pgbouncer]
logfile = /var/log/postgresql/pgbouncer.log
listen_addr = *
listen_port = 6432
unix_socket_dir = /var/run/postgresql
auth_file = /stolon-pgbouncer/docker/stolon-development/pgbouncer/userlist.txt
admin_users = stolon
pool_mode = transaction
server_reset_query =
server_check_query = select 1
server_check_delay = 10
max_client_conn = 1000
default_pool_size = 12
reserve_pool_size = 5
log_connections = 1
log_disconnections = 1
log_pooler_errors = 1
ignore_startup_parameters = extra_float_digits
