| From: | Tatsuo Ishii <ishii(at)postgresql(dot)org> |
|---|---|
| To: | pgpool-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgpool: Fix handling of negotiate protocol version message. |
| Date: | 2026-05-29 08:39:42 |
| Message-ID: | E1wSsko-006y9B-3B@gothos.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgpool-committers |
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=7bcb55898a9a1fbac39dcecf5c9762f38213237f
Modified Files
--------------
src/auth/pool_auth.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tatsuo Ishii | 2026-06-01 04:32:51 | pgpool: Allow pgproto to accept new line data. |
| Previous Message | Taiki Koshino | 2026-05-26 08:43:53 | pgpool: Revert "Fix: primary_routing_query_pattern_list retains old val |