Re: pgsql: libpq: Grease the protocol by default - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: pgsql: libpq: Grease the protocol by default
Date
Msg-id CAOYmi+k8ENYkErqSEYEqW39YWPfe_ii7g5Acm1c9asNuRMriNg@mail.gmail.com
Whole thread
In response to Re: pgsql: libpq: Grease the protocol by default  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: libpq: Grease the protocol by default
List pgsql-hackers
On Mon, Feb 23, 2026 at 2:18 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Either that or we decide that it's time to throw 9.2 support
> overboard (looks like 9.3 and up are fine).

Well, while I was hacking on a patch I realized that 9.3 (all the way
up to 10) is only okay if you're running a sufficiently patched
version. PG11 is the first to support negotiation for the whole
release line.

> If it's not hard to add the connection option to this test, let's do
> that --- but if it is a problem, I wouldn't shed too many tears over
> moving the oldest-old-version goalpost.  I think we might not be able
> to fix the test without changing buildfarm client script and/or
> configuration.

I think Jelte said it well back on the -committers thread:

> Why only force max_protocol_version=3.0 for beta? It sounds like
> this would also be an issue once we eventually bump the default
> version.

So a fix belongs in pg_upgrade, IMO, instead of the test. I have a
draft passing locally that I should be able to share soon.

Thanks,
--Jacob



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
Next
From: Tom Lane
Date:
Subject: Re: pgsql: libpq: Grease the protocol by default