Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit951eaec

Browse files
author
Amit Kapila
committed
Doc: Add missing pgoutput options.
We forgot to update the docs while adding new options in pgoutput.Author: Emre HasegeliReviewed-by: Peter Smith, Amit KapilaBackpatch-through: 12Discussion:https://postgr.es/m/CAE2gYzwdwtUbs-tPSV-QBwgTubiyGD2ZGsSnAVsDfAGGLDrGOA%40mail.gmail.com
1 parent375f441 commit951eaec

File tree

2 files changed

+53
-5
lines changed

2 files changed

+53
-5
lines changed

‎doc/src/sgml/logical-replication.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,8 @@
454454
implemented by <quote>walsender</quote> and <quote>apply</quote>
455455
processes. The walsender process starts logical decoding (described
456456
in <xref linkend="logicaldecoding"/>) of the WAL and loads the standard
457-
logical decoding plugin (pgoutput). The plugin transforms the changes read
457+
logical decoding output plugin (<literal>pgoutput</literal>). The plugin
458+
transforms the changes read
458459
from WAL to the logical replication protocol
459460
(see <xref linkend="protocol-logical-replication"/>) and filters the data
460461
according to the publication specification. The data is then continuously

‎doc/src/sgml/protocol.sgml

Lines changed: 51 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2525,7 +2525,10 @@ The commands accepted in replication mode are:
25252525
<term><replaceable class="parameter">option_name</replaceable></term>
25262526
<listitem>
25272527
<para>
2528-
The name of an option passed to the slot's logical decoding plugin.
2528+
The name of an option passed to the slot's logical decoding output
2529+
plugin. See <xref linkend="protocol-logical-replication"/> for
2530+
options that are accepted by the standard (<literal>pgoutput</literal>)
2531+
plugin.
25292532
</para>
25302533
</listitem>
25312534
</varlistentry>
@@ -2870,12 +2873,18 @@ The commands accepted in replication mode are:
28702873
the physical streaming replication protocol.
28712874
</para>
28722875

2876+
<para>
2877+
<productname>PostgreSQL</productname> logical decoding supports output
2878+
plugins. <literal>pgoutput</literal> is the standard one used for
2879+
the built-in logical replication.
2880+
</para>
2881+
28732882
<sect2 id="protocol-logical-replication-params">
28742883
<title>Logical Streaming Replication Parameters</title>
28752884

28762885
<para>
2877-
The logical replication<literal>START_REPLICATION</literal> command
2878-
accepts followingparameters:
2886+
Using the<literal>START_REPLICATION</literal> command,
2887+
<literal>pgoutput</literal>acceptsthefollowingoptions:
28792888

28802889
<variablelist>
28812890
<varlistentry>
@@ -2885,7 +2894,8 @@ The commands accepted in replication mode are:
28852894
<listitem>
28862895
<para>
28872896
Protocol version. Currently versions <literal>1</literal> and
2888-
<literal>2</literal> are supported. The version <literal>2</literal>
2897+
<literal>2</literal> are supported. A valid version is required.
2898+
The version <literal>2</literal>
28892899
is supported only for server version 14 and above, and it allows
28902900
streaming of large in-progress transactions.
28912901
</para>
@@ -2901,6 +2911,43 @@ The commands accepted in replication mode are:
29012911
Comma separated list of publication names for which to subscribe
29022912
(receive changes). The individual publication names are treated
29032913
as standard objects names and can be quoted the same as needed.
2914+
At least one publication name is required.
2915+
</para>
2916+
</listitem>
2917+
</varlistentry>
2918+
2919+
<varlistentry>
2920+
<term>
2921+
binary
2922+
</term>
2923+
<listitem>
2924+
<para>
2925+
Boolean option to use binary transfer mode. Binary mode is faster
2926+
than the text mode but slightly less robust.
2927+
</para>
2928+
</listitem>
2929+
</varlistentry>
2930+
2931+
<varlistentry>
2932+
<term>
2933+
messages
2934+
</term>
2935+
<listitem>
2936+
<para>
2937+
Boolean option to enable sending the messages that are written
2938+
by <function>pg_logical_emit_message</function>.
2939+
</para>
2940+
</listitem>
2941+
</varlistentry>
2942+
2943+
<varlistentry>
2944+
<term>
2945+
streaming
2946+
</term>
2947+
<listitem>
2948+
<para>
2949+
Boolean option to enable streaming of in-progress transactions.
2950+
Minimum protocol version 2 is required to turn it on.
29042951
</para>
29052952
</listitem>
29062953
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp