Subject: [pgjdbc/pgjdbc] PR #3935: Add assumeServerVersionLessThan

From: "davecramer (@davecramer)" <[email-masked]>
Date: Mon, 09 Feb 2026 16:05:06 +0000

make it easy to run tests that only run on servers less than a version

---

From: "vlsi (@vlsi)" <[email-masked]>
Date: Mon, 09 Feb 2026 18:32:08 +0000

(on pgjdbc/src/main/java/org/postgresql/core/BaseConnection.java:140)

Do we need those on the public API?

---

From: "vlsi (@vlsi)" <[email-masked]>
Date: Mon, 09 Feb 2026 18:33:09 +0000

(on pgjdbc/src/test/java/org/postgresql/jdbc/AbstractArraysTest.java)

This looks like a consequence of an extra method on the interface

---

From: "vlsi (@vlsi)" <[email-masked]>
Date: Mon, 09 Feb 2026 18:35:24 +0000

(on testkit/src/main/java/org/postgresql/test/TestUtil.java:805)

An alternative option could be adding `@DisabledIfServerVersionAbove` (like we have `@DisabledIfServerVersionBelow`) or refactoring `@DisabledIfServerVersionBelow` into `@DisabledIfServerVersionRange(min=..., max=...)`

---

From: "davecramer (@davecramer)" <[email-masked]>
Date: Mon, 09 Feb 2026 20:19:15 +0000

Closing in favour of https://github.com/pgjdbc/pgjdbc/pull/3937