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: Andres Freund <andres@anarazel.de>
Cc: Jacob Champion <jacob.champion@enterprisedb.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Heikki Linnakangas <hlinnaka@iki.fi>, Robert Haas <robertmhaas@gmail.com>
Date: 2025-11-03T15:41:52Z
Lists: pgsql-hackers
On Mon, 3 Nov 2025 at 15:59, Andres Freund <andres@anarazel.de> wrote: > Won't this mean that it'll be harder to performance comparisons between the > in-development version and other versions? Because there will be negotiation > before we branch of 19, but not after and not in release branches? The negotiation does not require a separate roundtrip, only a tiny additional message sent by the server. So I'm not worried about that resulting in a measurable perf change. And even if there is one in some super extreme benchmark, then you can still set max_protocol_version=3.0 to revert to the regular behaviour.
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
libpq: Grease the protocol by default
- 4966bd3ed95e 19 (unreleased) landed
-
libpq: Prepare for protocol grease during 19beta
- d8d7c5dc8f74 19 (unreleased) landed
-
doc: Expand upon protocol versions and extensions
- e3d37853ecd5 19 (unreleased) landed
-
libpq_pipeline: Test the default protocol version
- 9b9eaf08ab2d 19 (unreleased) landed