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

From: "Jelte Fennema-Nio" <postgres(at)jeltef(dot)nl>
To: "Jacob Champion" <jacob(dot)champion(at)enterprisedb(dot)com>
Cc: "PostgreSQL Hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "Heikki Linnakangas" <hlinnaka(at)iki(dot)fi>, "Robert Haas" <robertmhaas(at)gmail(dot)com>
Subject: Re: libpq: Bump protocol version to version 3.2 at least until the first/second beta
Date: 2025-11-03 14:46:10
Message-ID: DDZ539Z6JWSB.1BF62QDLBANQA@jeltef.nl
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)jeltef(dot)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).

Attachment Content-Type Size
v3-0001-Add-test-for-libpq-its-default-protocol-version.patch text/x-patch 2.0 KB
v3-0002-libpq-Request-protocol-version-3.9999-to-GREASE-t.patch text/x-patch 13.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2025-11-03 14:59:21 Re: libpq: Bump protocol version to version 3.2 at least until the first/second beta
Previous Message AIX PG user 2025-11-03 14:46:05 Re: AIX support