| From: | Tatsuo Ishii <ishii(at)postgresql(dot)org> |
|---|---|
| To: | pgpool-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Implement protocol 3.2 BackendKeyData and cancel request message |
| Date: | 2025-07-14 06:57:10 |
| Message-ID: | 20250714.155710.1706961744888449986.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
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 |
|---|---|---|
| v1-0001-Feature-implement-protocol-version-3.2-BackendKey.patch | application/octet-stream | 25.7 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tatsuo Ishii | 2025-07-15 01:54:40 | Re: Implement protocol 3.2 BackendKeyData and cancel request message |
| Previous Message | Bo Peng | 2025-07-14 05:53:39 | Re: Patch for fixing doc about some parameters. |