postgres.git / summary / log / commit / refs
commit 88d6c6f61da9dc0ea168b9eee29888b04cf8d8b8
Author: Amit Kapila <akapila@postgresql.org>
Date: Tue Dec 26 05:15:34 2023 +0000
First released in: 17.0, 12.18, 13.14, 14.11, 15.6, 16.2
Doc: Add missing pgoutput options.
We forgot to update the docs while adding new options in pgoutput.
Author: Emre Hasegeli
Reviewed-by: Peter Smith, Amit Kapila
Backpatch-through: 12
Discussion: https://postgr.es/m/CAE2gYzwdwtUbs-tPSV-QBwgTubiyGD2ZGsSnAVsDfAGGLDrGOA%40mail.gmail.com
doc/src/sgml/logical-replication.sgml | 3 ++-
doc/src/sgml/protocol.sgml | 18 ++++++++++++++----
2 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/doc/src/sgml/logical-replication.sgml b/doc/src/sgml/logical-replication.sgml
index 1ac374ce40c..77c74045688 100644
--- a/doc/src/sgml/logical-replication.sgml
+++ b/doc/src/sgml/logical-replication.sgml
@@ -442,7 +442,8 @@
implemented by <quote>walsender</quote> and <quote>apply</quote>
processes. The walsender process starts logical decoding (described
in <xref linkend="logicaldecoding"/>) of the WAL and loads the standard
- logical decoding plugin (pgoutput). The plugin transforms the changes read
+ logical decoding output plugin (<literal>pgoutput</literal>). The plugin
+ transforms the changes read
from WAL to the logical replication protocol
(see <xref linkend="protocol-logical-replication"/>) and filters the data
according to the publication specification. The data is then continuously
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml
index 8670230d48d..a22c8520c00 100644
--- a/doc/src/sgml/protocol.sgml
+++ b/doc/src/sgml/protocol.sgml
@@ -2518,7 +2518,10 @@ The commands accepted in replication mode are:
<term><replaceable class="parameter">option_name</replaceable></term>
<listitem>
<para>
- The name of an option passed to the slot's logical decoding plugin.
+ The name of an option passed to the slot's logical decoding output
+ plugin. See <xref linkend="protocol-logical-replication"/> for
+ options that are accepted by the standard (<literal>pgoutput</literal>)
+ plugin.
</para>
</listitem>
</varlistentry>
@@ -2863,12 +2866,18 @@ The commands accepted in replication mode are:
the physical streaming replication protocol.
</para>
+ <para>
+ <productname>PostgreSQL</productname> logical decoding supports output
+ plugins. <literal>pgoutput</literal> is the standard one used for
+ the built-in logical replication.
+ </para>
+
<sect2 id="protocol-logical-replication-params">
<title>Logical Streaming Replication Parameters</title>
<para>
- The logical replication <literal>START_REPLICATION</literal> command
- accepts following parameters:
+ Using the <literal>START_REPLICATION</literal> command,
+ <literal>pgoutput</literal> accepts the following options:
<variablelist>
<varlistentry>
@@ -2878,7 +2887,7 @@ The commands accepted in replication mode are:
<listitem>
<para>
Protocol version. Currently only version <literal>1</literal> is
- supported.
+ supported. A valid version is required.
</para>
</listitem>
</varlistentry>
@@ -2892,6 +2901,7 @@ The commands accepted in replication mode are:
Comma separated list of publication names for which to subscribe
(receive changes). The individual publication names are treated
as standard objects names and can be quoted the same as needed.
+ At least one publication name is required.
</para>
</listitem>
</varlistentry>
[parent: cc3865150b8a]