[pgpool-committers: 9487] pgpool: Disallowing setting the max_spare_children greater than num_ini

Muhammad Usama m.usama at gmail.com
Sat Jul 22 23:26:28 JST 2023


Disallowing setting the max_spare_children greater than num_init_children.

Config post-processing stage now throws an error if num_init_children is
smaller than max_spare_children.
Commit also adjusts the number of child processes spawned at startup based on
the configured process management strategy.
For the Aggressive strategy, max_spare_children number of processes is spawned;
for the other two strategies, min_spare_children number of children gets
created at startup.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=37dc683f7f15cbf4502b338937e54b9da0a92efd

Modified Files
--------------
src/config/pool_config_variables.c |  7 +++++++
src/main/pgpool_main.c             | 11 ++++++++---
2 files changed, 15 insertions(+), 3 deletions(-)



More information about the pgpool-committers mailing list