pgsql: Doc: improve protocol spec for logical replication Type messages - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Doc: improve protocol spec for logical replication Type messages
Date
Msg-id E1mks6C-0000dS-6a@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/886801df4a23d0ee5e2b2119470cbf300242f644

Modified Files
--------------
doc/src/sgml/protocol.sgml               | 26 +++++++++++++++++++-------
src/backend/replication/logical/worker.c |  5 ++++-
2 files changed, 23 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Remove check for accept() argument types
Next
From: Michael Paquier
Date:
Subject: pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~