Re: pgsql: libpq: Grease the protocol by default

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
Cc: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>, Nathan Bossart <nathandbossart(at)gmail(dot)com>
Subject: Re: pgsql: libpq: Grease the protocol by default
Date: 2026-02-24 20:40:38
Message-ID: 4033022.1771965638@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com> writes:
> Okay, here are the patches I propose. The ones for 18-HEAD check for
> PG10 and below, and 14-17 additionally check that libpq >= 18, before
> adding max_protocol_version=3.0.

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.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message noreply 2026-02-24 22:23:11 pgsql: Tag refs/tags/REL_18_3 was created
Previous Message Jacob Champion 2026-02-24 20:29:02 Re: pgsql: libpq: Grease the protocol by default

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-02-24 21:07:39 Re: Optimize SELECT * in EXISTS
Previous Message Jacob Champion 2026-02-24 20:29:02 Re: pgsql: libpq: Grease the protocol by default