Doc: improve protocol spec for logical replication Type messages.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 78f058411b02a54e4fde43744e35089d0ab57683
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-11-10T18:12:58Z
Releases: 13.6
Doc: improve protocol spec for logical replication Type messages.

protocol.sgml documented the layout for Type messages, but completely
dropped the ball otherwise, failing to explain what they are, when
they are sent, or what they're good for.  While at it, do a little
copy-editing on the description of Relation messages.

In passing, adjust the comment for apply_handle_type() to make it
clearer that we choose not to do anything when receiving a Type
message, not that we think it has no use whatsoever.

Per question from Stefen Hillman.

Discussion: https://postgr.es/m/CAPgW8pMknK5pup6=T4a_UG=Cz80Rgp=KONqJmTdHfaZb0RvnFg@mail.gmail.com

Files

PathChange+/−
doc/src/sgml/protocol.sgml modified +19 −7
src/backend/replication/logical/worker.c modified +4 −1

Documentation touched

Discussion