public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tatsuo Ishii <[email protected]>
To: [email protected]
Subject: Re: Implement protocol 3.2 BackendKeyData and cancel request message
Date: Tue, 15 Jul 2025 10:54:40 +0900 (JST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

> Starting from PostgreSQL 18, frontend/backend protocol has been
> changed from 3.0 to 3.2. In the changes the BackendKeyData and query
> cancel message are modified to allow variable length cancel key.
> 
> This commit is a follow up to 766e73811 and implements the changes
> needed above. See attached patches.
> 
> With the patch we can connect to PostgreSQL 18 frontend and backend
> using 3.2 protocol.
> 
> Since PostgreSQL 18's psql uses 3.0 protocol by default, in order to
> test 3.2 protocol, you can do something like:
> 
> PGMAXPROTOCOLVERSION="3.2" psql -p 11000 test

Attached is the v2 patch which add more comments and some cosmetic
changes.

Best regards,
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp


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: Implement protocol 3.2 BackendKeyData and cancel request 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