pgjdbc/pgjdbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
From: davecramer (@davecramer) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: [pgjdbc/pgjdbc] PR #3592:  Handle protocol 3.2 and wider cancel keys.
Date: Fri, 11 Apr 2025 19:40:44 +0000
Message-ID: <[email protected]> (raw)

We also now have to handle the protocolNegotiationMessage

As of https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=285613c60a7aff5daaf281c67002483b0... the protocol version has been bumped to 3.2. This will take effect in version 18.

The only protocol change is wider cancel keys. Previously cancel keys were 4 bytes wide now they can have a maximum of 256 bytes but currently the server sends 32 byte wide cancel keys.

https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=a460251f0a1ac987f0225203ff9593704...



view thread (37+ messages)  latest in thread

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: github://pgjdbc/pgjdbc
  Cc: [email protected], [email protected]
  Subject: Re: [pgjdbc/pgjdbc] PR #3592:  Handle protocol 3.2 and wider cancel keys. 
  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