agora inbox for pgpool-committers@postgresql.org  
help / color / mirror / Atom feed
pgpool: Fix: primary_routing_query_pattern_list retains old values afte
6+ messages / 1 participants
[nested] [flat]

* pgpool: Fix: primary_routing_query_pattern_list retains old values afte
@ 2026-05-21 01:49  Taiki Koshino <koshino@sraoss.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Taiki Koshino @ 2026-05-21 01:49 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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
------
master

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

Modified Files
--------------
src/config/pool_config_variables.c | 68 ++++++++++++++++++++++++++++++++++++--
1 file changed, 66 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix: primary_routing_query_pattern_list retains old values afte
@ 2026-05-21 01:50  Taiki Koshino <koshino@sraoss.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Taiki Koshino @ 2026-05-21 01:50 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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_7_STABLE

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

Modified Files
--------------
src/config/pool_config_variables.c | 68 ++++++++++++++++++++++++++++++++++++--
1 file changed, 66 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix: primary_routing_query_pattern_list retains old values afte
@ 2026-05-21 01:51  Taiki Koshino <koshino@sraoss.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Taiki Koshino @ 2026-05-21 01:51 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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_6_STABLE

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

Modified Files
--------------
src/config/pool_config_variables.c | 68 ++++++++++++++++++++++++++++++++++++--
1 file changed, 66 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix: primary_routing_query_pattern_list retains old values afte
@ 2026-05-21 01:51  Taiki Koshino <koshino@sraoss.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Taiki Koshino @ 2026-05-21 01:51 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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_5_STABLE

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

Modified Files
--------------
src/config/pool_config_variables.c | 68 ++++++++++++++++++++++++++++++++++++--
1 file changed, 66 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix: primary_routing_query_pattern_list retains old values afte
@ 2026-05-21 01:53  Taiki Koshino <koshino@sraoss.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Taiki Koshino @ 2026-05-21 01:53 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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_4_STABLE

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

Modified Files
--------------
src/config/pool_config_variables.c | 68 ++++++++++++++++++++++++++++++++++++--
1 file changed, 66 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix: primary_routing_query_pattern_list retains old values afte
@ 2026-05-21 01:55  Taiki Koshino <koshino@sraoss.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Taiki Koshino @ 2026-05-21 01:55 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2026-05-21 01:55 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-05-21 01:49 pgpool: Fix: primary_routing_query_pattern_list retains old values afte Taiki Koshino <koshino@sraoss.co.jp>
2026-05-21 01:50 pgpool: Fix: primary_routing_query_pattern_list retains old values afte Taiki Koshino <koshino@sraoss.co.jp>
2026-05-21 01:51 pgpool: Fix: primary_routing_query_pattern_list retains old values afte Taiki Koshino <koshino@sraoss.co.jp>
2026-05-21 01:51 pgpool: Fix: primary_routing_query_pattern_list retains old values afte Taiki Koshino <koshino@sraoss.co.jp>
2026-05-21 01:53 pgpool: Fix: primary_routing_query_pattern_list retains old values afte Taiki Koshino <koshino@sraoss.co.jp>
2026-05-21 01:55 pgpool: Fix: primary_routing_query_pattern_list retains old values afte Taiki Koshino <koshino@sraoss.co.jp>

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