agora inbox for pgpool-committers@postgresql.org  
help / color / mirror / Atom feed
From: Taiki Koshino <koshino@sraoss.co.jp>
To: pgpool-committers@lists.postgresql.org
Subject: pgpool: Fix: Reset removed config parameters to defaults
Date: Wed, 09 Sep 2026 08:18:49 +0000
Message-ID: <E1x4DW4-00000007lMy-2vSt@gothos.postgresql.org> (raw)

Fix: Reset removed config parameters to defaults

Previously, parameters removed or commented out in pgpool.conf retained
their old values after configuration reload.

Reset such reloadable parameters to their defaults. Handle index-free
and indexed array parameters separately, and leave values not loaded
from pgpool.conf unchanged.

Author: Taiki Koshino <koshino@sraoss.co.jp>
Discussion: https://github.com/pgpool/pgpool2/issues/164
Backpatch-through: v4.3

Branch
------
V4_3_STABLE

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

Modified Files
--------------
src/config/pool_config.l            |   3 +
src/config/pool_config_variables.c  | 132 ++++++++++++++++++++++++++++++++++++
src/include/pool_config_variables.h |   2 +-
3 files changed, 136 insertions(+), 1 deletion(-)



view thread (6+ messages)

Message-ID: <E1x4DW4-00000007lMy-2vSt@gothos.postgresql.org>
Permalink:  ../E1x4DW4-00000007lMy-2vSt@gothos.postgresql.org/
Also on:    postgresql.org/message-id/E1x4DW4-00000007lMy-2vSt@gothos.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgpool-committers@postgresql.org
  Cc: koshino@sraoss.co.jp, pgpool-committers@lists.postgresql.org
  Subject: Re: pgpool: Fix: Reset removed config parameters to defaults
  In-Reply-To: <E1x4DW4-00000007lMy-2vSt@gothos.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox