Re: libpq: Bump protocol version to version 3.2 at least until the first/second beta

Jelte Fennema <postgres@jeltef.nl>

From: "Jelte Fennema-Nio" <postgres@jeltef.nl>
To: "Jacob Champion" <jacob.champion@enterprisedb.com>
Cc: "PostgreSQL Hackers" <pgsql-hackers@lists.postgresql.org>, "Heikki Linnakangas" <hlinnaka@iki.fi>, "Robert Haas" <robertmhaas@gmail.com>
Date: 2025-11-03T14:46:10Z
Lists: pgsql-hackers

Attachments

On Fri Oct 31, 2025 at 11:52 PM CET, Jacob Champion wrote:
> On Fri, Oct 31, 2025 at 2:56 PM Jelte Fennema-Nio <me@jeltef.nl> wrote:
> Yeah, I feel better signing on to a plan like this if we think the
> breakage is likely to lead to a comprehensive fix for
> NegotiateProtocolVersion (as opposed to "we greased this thing in 2025
> and now this thing in 2026 and now...").

Attached is a new version of the patch that reserves version 3.9999 and
_pq_.test_protocol_negotiation and starts requesting those by default
(which we should revert before at least PG19rc1 and possibly earlier).

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. libpq: Grease the protocol by default

  2. libpq: Prepare for protocol grease during 19beta

  3. doc: Expand upon protocol versions and extensions

  4. libpq_pipeline: Test the default protocol version