Re: NegotiateProtocolVersion description

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: NegotiateProtocolVersion description
Date: 2025-07-05 15:18:43
Message-ID: 96162607-085e-4ac6-8d1b-6d7c32039bcd@oss.nttdata.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2025/07/05 19:30, Tatsuo Ishii wrote:
> In the docs (54.7. Message Formats) NegotiateProtocolVersion message's
> third field is described as below:
>
> "Newest minor protocol version supported by the server for the major
> protocol version requested by the client. "
>
> From the description initially I thought the field value is minor
> protocol version (e.g. 0, 2). However I realized that it's actually
> protocol major version plus protocol minor version, like
> StartupMessage. Probably my misunderstanding is due to my limited
> English ability, but I just want to make sure that the current
> description definitely matches what the field actually represents.

A similar issue was discussed, and a patch was proposed in [1].
That thread might be worth reading.

Regards,

[1] https://postgr.es/m/CADK3HH+KkTFkv3zhJ9Koqmkyj=n2XG=CDp-MxAhMOPoezaQwoQ@mail.gmail.com

--
Fujii Masao
NTT DATA Japan Corporation

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Lakhin 2025-07-05 16:00:00 024_add_drop_pub.pl might fail due to deadlock
Previous Message Andrew Dunstan 2025-07-05 15:16:15 Re: Buildfarm animal prion can't complete tests in 4 hours nowadays