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

From: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
To: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, 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: 2026-02-06 22:39:30
Message-ID: CAOYmi+kQD6ynTUVsbXLmT3BjiEm4kk470c8WLL7ridQp9WR86g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Feb 2, 2026 at 3:35 PM Jacob Champion
<jacob(dot)champion(at)enterprisedb(dot)com> wrote:
> Being outvoted, I will hold my nose and split the tables in two.

Committed that way, along with v6-0002.

On Sat, Jan 24, 2026 at 2:10 AM Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> wrote:
> 4. I think mentioning the "_pq_." prefix in the paragraph above the
> extension table would be good. Otherwise once we get more extensions
> you only learn about it once you get to the reserved extensions
> section.

I've also done this.

That just leaves the last TODO, which is guiding users towards a
resolution. First attempt at that is attached as v7:
- v7-0001 is the same as v6-0003 with an updated commit message.
- v7-0002 is a squash! commit that prints a quick explanation and a
link to our documentation for all grease-related libpq errors.

At the moment, that link is
https://www.postgresql.org/docs/devel/libpq-connect.html#LIBPQ-CONNECT-MAX-PROTOCOL-VERSION
which will contain a <note> on grease when this is committed.

I'd still prefer that this link go to a wiki page, but in case I can't
get agreement on that, or there's some technical reason why protecting
the page wouldn't work out the way I'd hoped, or it just takes a long
time, this seems better than nothing. Switching out the URL in a later
commit shouldn't be an issue.

WDYT?
--Jacob

Attachment Content-Type Size
v7-0001-libpq-Grease-the-protocol-by-default.patch application/octet-stream 9.2 KB
v7-0002-squash-libpq-Grease-the-protocol-by-default.patch application/octet-stream 4.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sami Imseih 2026-02-06 22:42:52 Does pg_stat_statements need to modify core queryId?
Previous Message KAZAR Ayoub 2026-02-06 22:36:13 Re: Speed up COPY FROM text/CSV parsing using SIMD