pgsql: docs: Update phrase on message lengths in the protocol - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: docs: Update phrase on message lengths in the protocol
Date
Msg-id E1tzxQ5-002HzF-0J@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: tests: Fix incompatibility of test_aio with *_FORCE_RELEASE
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix code comment