doc patch: protocol major.minor numbers in NegotiateProtocolVersion message

From: Eric Marsden <eric(dot)marsden(at)risk-engineering(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: doc patch: protocol major.minor numbers in NegotiateProtocolVersion message
Date: 2025-09-08 08:01:00
Message-ID: 54eb9eca-b518-4441-8744-940fc6758a5a@risk-engineering.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

This patch clarifies the format of the major and minor protocol version
numbers sent by the backend in a NegotiateProtocolVersion message. The
current wording "Newest minor protocol version supported by the server
for the major protocol version requested by the client" can be read as
indicating that the Int32 field only includes the minor protocol version
number, where in fact the backend sends an Int16 with the major protocol
version then an Int16 with the newest minor protocol version that it
supports.

Thanks,
Eric Marsden

Attachment Content-Type Size
0001-doc-protocol-major.minor-numbers-in-NegotiateProtoco.patch text/x-patch 1.8 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrei Klychkov 2025-09-08 08:08:34 Re: [PATCH] Fix ALTER SYSTEM empty string bug for GUC_LIST_QUOTE parameters
Previous Message Michael Paquier 2025-09-08 07:54:16 Re: 回复: Fix segfault while accessing half-initialized hash table in pgstat_shmem.c