pgsql: docs: Update phrase on message lengths in the protocol

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: docs: Update phrase on message lengths in the protocol
Date: 2025-04-02 12:42:13
Message-ID: E1tzxQ5-002HzF-0J@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

docs: Update phrase on message lengths in the protocol

The reasoning for why all the message formats are parseable without
the explicit message length field is anachronistic; the real reason is
that protocol version 2 did not have a message length field. There's
nothing wrong with relying on the message length, like we do in the
CopyData messags, even though it often still makes sense to have
length fields for individual parts in messages.

Discussion: https://www.postgresql.org/message-id/02a4eed2-98f0-4796-9d4f-12128ff44fe0@iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/85d799ba8a7fe3f6a462fcccbb449e08d21f4ea4

Modified Files
--------------
doc/src/sgml/protocol.sgml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-04-02 12:47:19 pgsql: Fix code comment
Previous Message Andrew Dunstan 2025-04-02 12:34:11 Re: TEMP_CONFIG vs test_aio