Re: NegotiateProtocolVersion description
Fujii Masao <masao.fujii@oss.nttdata.com>
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Tatsuo Ishii <ishii@postgresql.org>, pgsql-hackers@postgresql.org
Date: 2025-07-05T15:18:43Z
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