pgpool: Remove unnecessary check STREAM in where_to_send_main_replica()

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-committers(at)lists(dot)postgresql(dot)org
Subject: pgpool: Remove unnecessary check STREAM in where_to_send_main_replica()
Date: 2026-03-24 23:35:05
Message-ID: E1w5BH5-00Dccn-0v@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-committers

Remove unnecessary check STREAM in where_to_send_main_replica().

The check is already done in check_replication_delay().

Backpatch-through: v4.5

Branch
------
V4_5_STABLE

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

Modified Files
--------------
src/context/pool_query_context.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)

Browse pgpool-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2026-03-24 23:35:10 pgpool: Remove unnecessary check STREAM in where_to_send_main_replica()
Previous Message Tatsuo Ishii 2026-03-19 06:36:12 pgpool: Fix lock release leak in pool_search_relcache.