]> git.ipfire.org Git - thirdparty/postgresql.git/commit
docs: Update phrase on message lengths in the protocol
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 2 Apr 2025 12:32:33 +0000 (15:32 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 2 Apr 2025 12:32:33 +0000 (15:32 +0300)
commit85d799ba8a7fe3f6a462fcccbb449e08d21f4ea4
tree9d363c5cb2b2a4a867d71d301471ef63c66a80bd
parenta6285b150ad308fbba3ca832fccd199ba38fac60
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
doc/src/sgml/protocol.sgml