Re: pgsql: libpq: Grease the protocol by default

Jacob Champion <jacob.champion@enterprisedb.com>

From: Jacob Champion <jacob.champion@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jelte Fennema-Nio <postgres@jeltef.nl>, pgsql-hackers@lists.postgresql.org, Andrew Dunstan <andrew@dunslane.net>, Nathan Bossart <nathandbossart@gmail.com>
Date: 2026-02-24T22:33:34Z
Lists: pgsql-hackers
On Tue, Feb 24, 2026 at 12:40 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> These look sane to me.  I might suggest a small wording change in
> the <= 17 patches:
>
> -        * Back-branch-specific complication: for libpq versions prior to PG18,
> +        * Back-branch-specific complication: in libpq versions prior to PG18,
>
> but it probably isn't worth the trouble to edit four separate patches.

By the power of sed, it is done.

And I see that the new release tags are here, so pushed. Thanks for
all the review and testing!

--Jacob



Commits

  1. pg_upgrade: Use max_protocol_version=3.0 for older servers

  2. libpq: Grease the protocol by default

  3. libpq: Prepare for protocol grease during 19beta