From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move description of libpqwalreceiver hooks out of the replicatio
Date: Thu, 02 Jul 2020 04:59:54 +0000
Message-ID: <E1jqrKE-0006Nz-Jm@gemulon.postgresql.org> (raw)
Move description of libpqwalreceiver hooks out of the replication's README
src/backend/replication/README includes since 32bc08b a basic
description of the WAL receiver hooks available in walreceiver.h for a
module like libpqwalreceiver, but the README has never been updated to
reflect changes done to the hooks, so the contents of the README have
rotten with the time. This commit moves the description from the README
to walreceiver.h, where it will be hard to miss that a description
update or addition is needed depending on the modifications done to the
hooks.
Each hook now includes a description of what it does in walreceiver.h,
and the replication's README mentions walreceiver.h.
Thanks also to Amit Kapila for the discussion.
Author: Michael Paquier
Reviewed-by: Peter Eisentraut
Discussion: https://postgr.es/m/20200502024606.GA471944@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/641dd167a3424f97eed8416b5ef1c21dbbf8cf12
Modified Files
--------------
src/backend/replication/README | 29 +-------
src/include/replication/walreceiver.h | 136 ++++++++++++++++++++++++++++++++--
2 files changed, 132 insertions(+), 33 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Move description of libpqwalreceiver hooks out of the replicatio
In-Reply-To: <E1jqrKE-0006Nz-Jm@gemulon.postgresql.org>
References: <E1jqrKE-0006Nz-Jm@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox