pgjdbc/pgjdbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
From: vlsi (@vlsi) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: Re: [pgjdbc/pgjdbc] PR #4016: feat: harden protocol reader against desynced streams (#4015)
Date: Sat, 23 May 2026 12:37:04 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

This PR has been open since April 10 and I think it's ready to merge.

The most material recent change: warn is now the default for pgjdbc.protocolViolationBehaviour, so an upgrade cannot turn a previously-working workload into hard connection failures. Issue [#4015](https://github.com/pgjdbc/pgjdbc/issues/4015) itself and a handful of impossible-value checks always fail fast in every mode (they would otherwise reach a NegativeArraySizeException or an indefinite socket read a few lines later). Operators who want broader fail-fast safety opt into fail explicitly. See the updated PR description for the full mode table and rationale.

Planning to merge on Tuesday 26 May unless there's further feedback.

view thread (21+ 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 #4016: feat: harden protocol reader against desynced streams (#4015)
  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