summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorTatsuo Ishii2025-07-09 06:58:16 +0000
committerTatsuo Ishii2025-07-09 06:58:16 +0000
commit766e738118e15a564e205429564cbfe1915d684e (patch)
tree9f31def785c85b03aaf4fe27e5a198f452e2d4f8 /src/tools
parent864a1fe114a6af283804f1c3e231ed697a0a8573 (diff)
Feature: implement NegotiateProtocolVersion message.
Implementing the message is necessary when frontend requests the protocol version 3.2 (i.e. PostgreSQL 18+ or compatible clients), while backend still only supports 3.0 (i.e. backend is PostgreSQL 17 or before). This commit handles the message so that the message is forwarded from backend to frontend when there's no connection cache exists. If connection cache exists, pgpool sends the message, which has been saved at the time when the connection cache was created, to frontend. Note that the frontend/backend protocol 3.2 changes the BackendKeyData message format, but it's not implemented in this commit yet. This means that still pgpool cannot handle 3.2 protocol. Discussion: https://www.postgresql.org/message-id/20250708.112133.1324153277751075866.ishii%40postgresql.org
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions