pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: akindipejohn2017@gmail.com
Subject: Postgres Protocol Message Formats Clarification
Date: Sat, 11 Jul 2026 14:24:07 +0000
Message-ID: <178377984700.881008.10843696440740337042@wrigleys.postgresql.org> (raw)

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.






view thread (2+ messages)  latest in thread

Message-ID: <178377984700.881008.10843696440740337042@wrigleys.postgresql.org>
Permalink:  ../178377984700.881008.10843696440740337042@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/178377984700.881008.10843696440740337042@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, akindipejohn2017@gmail.com
  Subject: Re: Postgres Protocol Message Formats Clarification
  In-Reply-To: <178377984700.881008.10843696440740337042@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox