Re: [PATCH] Correct the version sent in protocol negotiation

Laurenz Albe <laurenz.albe@cybertec.at>

From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Ning Sun <classicning@gmail.com>, pgsql-docs@lists.postgresql.org
Date: 2026-06-07T05:06:55Z
Lists: pgsql-docs
On Sun, 2026-06-07 at 10:00 +0800, Ning Sun wrote:
> Our protocol doc describes protocol negotiation message will send latest 
> minor version. However that field is a 4-byte one. The actual 
> implementation sends full version including the major part:
> 
> The patch included just clarifies this behavior by removing "minor" from 
> "newest minor version".

To my understanding, the "minor version" is the entire version *including*
the last number, like 18.4 (and not only .4).

In this, I seem to be in agreement with
https://www.postgresql.org/support/versioning/

To me, removing the "minor" makes the text less clear.  If we change that
at all, perhaps a wording like "the full version, including the minor
release" would remove any ambiguity.

Yours,
Laurenz Albe