Re: Implement protocol 3.2 BackendKeyData and cancel request message

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Implement protocol 3.2 BackendKeyData and cancel request message
Date: 2025-07-15 05:34:08
Message-ID: 20250715.143408.2248698006180584277.ishii@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-hackers

>> 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.

Attached is the v3 patch which fixes a compiler error.

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

Attachment Content-Type Size
v3-0001-Feature-implement-protocol-version-3.2-BackendKey.patch application/octet-stream 26.8 KB

In response to

Responses

Browse pgpool-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2025-07-15 08:52:53 Re: Implement protocol 3.2 BackendKeyData and cancel request message
Previous Message Tatsuo Ishii 2025-07-15 01:54:40 Re: Implement protocol 3.2 BackendKeyData and cancel request message