pgsql: Doc: improve protocol spec for logical replication Type messages

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: improve protocol spec for logical replication Type messages
Date: 2021-11-10 18:13:28
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fcfb40dcc13189ed1d6791a11eb553d2329f4f6e

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

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-11-11 01:52:22 pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~
Previous Message Tom Lane 2021-11-10 15:41:28 Re: pgsql: Remove check for accept() argument types