public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tatsuo Ishii <[email protected]>
To: [email protected]
Subject: pgpool: Feature: implement protocol version 3.2 BackendKeyData and quer
Date: Tue, 15 Jul 2025 08:51:54 +0000
Message-ID: <[email protected]> (raw)

Feature: implement protocol version 3.2 BackendKeyData and query cancel message.

Starting from PostgreSQL 18, frontend/backend protocol has been
changed to 3.2. In the changes the BackendKeyData and query cancel
message are modified to allow variable length cancel key.

This commit implements the changes and now we can connect to
PostgreSQL frontend and backend using 3.2 protocol.

Example session is:
PGMAXPROTOCOLVERSION="3.2" psql -p 11000 test

Author: Tatsuo Ishii <[email protected]>
Discussion: https://www.postgresql.org/message-id/20250714.155710.1706961744888449986.ishii%40postgresql.org

Branch
------
master

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

Modified Files
--------------
src/auth/pool_auth.c                      | 85 ++++++++++++++++++-------------
src/context/pool_query_context.c          |  8 +--
src/include/pcp/libpcp_ext.h              |  8 ++-
src/include/pool.h                        | 11 ++--
src/include/protocol/pool_process_query.h |  4 +-
src/include/protocol/pool_proto_modules.h |  3 +-
src/protocol/child.c                      | 70 +++++++++++++++++--------
src/protocol/pool_process_query.c         | 39 ++++++++------
src/protocol/pool_proto_modules.c         |  2 +-
src/rewrite/pool_lobj.c                   |  4 +-
10 files changed, 151 insertions(+), 83 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: Feature: implement protocol version 3.2 BackendKeyData and quer
  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