Re: pgsql: libpq: Grease the protocol by default
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jacob Champion <jacob.champion@enterprisedb.com>, Jelte Fennema-Nio <postgres@jeltef.nl>, pgsql-hackers@lists.postgresql.org, Andrew Dunstan <andrew@dunslane.net>
Date: 2026-02-24T16:17:40Z
Lists: pgsql-hackers
On Mon, Feb 23, 2026 at 06:34:42PM -0500, Tom Lane wrote: > Jacob Champion <jacob.champion@enterprisedb.com> writes: >> 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. > > Hmm ... and of course the whole point of this exercise is to be sure > we can pg_upgrade from those out-of-support versions. I discussed this a bit on the hacking Discord last year, but IMHO we're reaching a good point to bump up pg_upgrade's oldest supported major version. I'll probably push to bump it to v10 for the v20 release so that we can remove many of the version-specific hacks we've built up over the years. Not to mention that the cross-version tests (the "export oldinstall" ones described in pg_upgrade's TESTING file, not the buildfarm ones) don't seem to work past v10 or so because they use various options that didn't exist or have since been renamed. Granted, this probably doesn't help the present issue... -- nathan
Commits
-
pg_upgrade: Use max_protocol_version=3.0 for older servers
- c47744ede01c 14.23 landed
- e726620d208e 15.18 landed
- a38ed212ff23 16.14 landed
- ad7fc3f1f83f 17.10 landed
- 1b2773179f31 18.4 landed
- a60a103386a1 19 (unreleased) landed
-
libpq: Grease the protocol by default
- 4966bd3ed95e 19 (unreleased) cited
-
libpq: Prepare for protocol grease during 19beta
- d8d7c5dc8f74 19 (unreleased) cited