The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/18/protocol-message-formats.html Description:
While the docs correctly state here (https://www.postgresql.org/docs/current/protocol-overview.html#PROTOCOL-MESSAGE-CONCEPTS) that the size bytes represent the length of the message except the first byte (the msg type byte), this page (https://www.postgresql.org/docs/current/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS) which explicitly describes the message formats does not include this clarification. Readers who come across this page without reading the protocol overview page will be quite confused should they try to implement the protocol and see short by one message sizes. I propose that this clarification be more explicitly added to the message formats page to avoid confusing readers.
