public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tatsuo Ishii <[email protected]>
To: [email protected]
Subject: pgpool: Fix handling of negotiate protocol version message.
Date: Fri, 29 May 2026 08:39:42 +0000
Message-ID: <[email protected]> (raw)
Fix handling of negotiate protocol version message.
ProcessNegotiateProtocol() saves NegotiateProtocolVersion message in a
Startup packet (sp->negotiateProtocolMsg) when initial connection to
backend is established. Unfortunately there was a bug with it.
Actually part of the message (unsupported optional messages) was not
saved. This prevented reusing the connection if frontend actually
checks unsupported optional messages are in the NegotiateProtocol
message.
This was discovered in PostgreSQL 19 beta while "greasing".
https://www.postgresql.org/message-id/DDZ539Z6JWSB.1BF62QDLBANQA%40jeltef.nl
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=7bcb55898a9a1fbac39dcecf5c9762f382132...
Modified Files
--------------
src/auth/pool_auth.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 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 handling of negotiate protocol version message.
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