From: Euler Taveira Date: Fri, 8 Dec 2017 18:36:50 +0000 (+0000) Subject: Fix reserve_pool parameter X-Git-Tag: pgbouncer_1_9_0~14^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11d5fdd755e62688b83ead1a23c4299e2056ae2a;p=pgbouncer Fix reserve_pool parameter The correct per pool parameter is reserve_pool. The global parameter is named reserve_pool_size. While at it, document reserve_pool parameter. --- diff --git a/doc/config.rst b/doc/config.rst index 3c7ac36..c45e923 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -878,6 +878,11 @@ pool_size Set maximum size of pools for this database. If not set, the default_pool_size is used. +reserve_pool +------------ +Set additional connections for this database. If not set, reserve_pool_size is +used. + connect_query ------------- diff --git a/etc/pgbouncer.ini b/etc/pgbouncer.ini index 3df66bb..3678d43 100644 --- a/etc/pgbouncer.ini +++ b/etc/pgbouncer.ini @@ -17,7 +17,7 @@ ;forcedb = host=127.0.0.1 port=300 user=baz password=foo client_encoding=UNICODE datestyle=ISO connect_query='SELECT 1' ; use custom pool sizes -;nondefaultdb = pool_size=50 reserve_pool_size=10 +;nondefaultdb = pool_size=50 reserve_pool=10 ; use auth_user with auth_query if user not present in auth_file ; auth_user must exist in auth_file