public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bo Peng <[email protected]>
To: [email protected]
Subject: pgpool: Fix incorrect routing of SET transaction_read_only = 0.
Date: Tue, 31 Mar 2026 06:45:25 +0000
Message-ID: <[email protected]> (raw)

Fix incorrect routing of SET transaction_read_only = 0.

Fix incorrect routing of SET transaction_read_only = 0 to standby node, which caused query errors.
Also replace incorrect bool ret = POOL_BOTH with the proper enum type.

Reported-by: liujinyang-highgo
Reviewed-by: Bo Peng <[email protected]>
Discussion: https://github.com/pgpool/pgpool2/issues/155
Backpatch-through: v4.3

Branch
------
master

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

Modified Files
--------------
src/context/pool_query_context.c | 4 ++--
1 file changed, 2 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 incorrect routing of SET transaction_read_only = 0.
  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