public inbox for [email protected]
help / color / mirror / Atom feedFrom: Taiki Koshino <[email protected]>
To: [email protected]
Subject: pgpool: Fix: primary_routing_query_pattern_list retains old values afte
Date: Thu, 21 May 2026 01:55:03 +0000
Message-ID: <[email protected]> (raw)
Fix: primary_routing_query_pattern_list retains old values after reload
This commit fixes an issue where primary_routing_query_pattern_list retained
old regex patterns after configuration reload.
Previously, the old regex array was not cleared during reload, and new values
were simply appended. As a result, patterns from the previous configuration
were not discarded and remained in memory.
This commit ensures that the existing regex pattern array is properly cleared
during reload, so that stale values are removed before new values are applied.
The same issue also affected write_function_list, read_only_function_list,
cache_safe_memqcache_table_list, and cache_unsafe_memqcache_table_list,
and the fix has been applied consistently to these configuration parameters as well.
Discussion: https://github.com/pgpool/pgpool2/issues/151
Backpatch-through: v4.3
Branch
------
V4_3_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=2fd1e895d4b4e1b5b7c9fcadc2d4a9d279fb8...
Modified Files
--------------
src/config/pool_config_variables.c | 68 ++++++++++++++++++++++++++++++++++++--
1 file changed, 66 insertions(+), 2 deletions(-)
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: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgpool: Fix: primary_routing_query_pattern_list retains old values afte
In-Reply-To: <[email protected]>
* 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