add postgresql 16 support

This commit is contained in:
ace 2024-03-19 14:08:09 +03:00
parent 512b0c3937
commit c3d27c367b
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,7 @@ pgbouncer_systemd_group: "pgbouncer"
pgbouncer_max_client_conn: 10000
pgbouncer_max_db_connections: 1000
pgbouncer_default_pool_size: 20
pgbouncer_reserve_pool_size: 5
pgbouncer_default_pool_mode: "session"
pgbouncer_ignore_startup_parameters: "extra_float_digits,geqo"
pgbouncer_auth_type: "hba"
@ -45,3 +46,4 @@ pgbouncer_postgresql_supported_versions:
- 13
- 14
- 15
- 16

View File

@ -36,7 +36,7 @@ pool_mode = {{ pgbouncer_default_pool_mode }}
server_reset_query = DISCARD ALL
max_client_conn = {{ pgbouncer_max_client_conn }}
default_pool_size = {{ pgbouncer_default_pool_size }}
reserve_pool_size = 1
reserve_pool_size = {{ pgbouncer_reserve_pool_size }}
reserve_pool_timeout = 1
max_db_connections = {{ pgbouncer_max_db_connections }}
pkt_buf = 8192