]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Doc: improve protocol spec for logical replication Type messages.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Nov 2021 18:12:58 +0000 (13:12 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Nov 2021 18:12:58 +0000 (13:12 -0500)
commit74da4c71d6b1fc20c546ab042135f444dd21e734
tree6f56ab27ee246a63c24cef6aa11f6d22b1eb38f5
parent3aa858c8932e91f74a2e7a7c3c237b345c4f0847
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
doc/src/sgml/protocol.sgml
src/backend/replication/logical/worker.c