@@ -16,7 +16,7 @@ PostgreSQL documentation
16
16
17
17
<refnamediv>
18
18
<refname>pg_receivexlog</refname>
19
- <refpurpose>streams transaction logs from a <productname>PostgreSQL</productname> cluster </refpurpose>
19
+ <refpurpose>stream transaction logs from a <productname>PostgreSQL</productname> server </refpurpose>
20
20
</refnamediv>
21
21
22
22
<refsynopsisdiv>
@@ -71,10 +71,6 @@ PostgreSQL documentation
71
71
<refsect1>
72
72
<title>Options</title>
73
73
74
- <para>
75
- The following command-line options control the location and format of the
76
- output.
77
-
78
74
<variablelist>
79
75
<varlistentry>
80
76
<term><option>-D <replaceable class="parameter">directory</replaceable></option></term>
@@ -88,22 +84,6 @@ PostgreSQL documentation
88
84
</para>
89
85
</listitem>
90
86
</varlistentry>
91
- </variablelist>
92
- </para>
93
- <para>
94
- The following command-line options control the running of the program.
95
-
96
- <variablelist>
97
- <varlistentry>
98
- <term><option>-n</option></term>
99
- <term><option>--no-loop</option></term>
100
- <listitem>
101
- <para>
102
- Don't loop on connection errors. Instead, exit right away with
103
- an error.
104
- </para>
105
- </listitem>
106
- </varlistentry>
107
87
108
88
<varlistentry>
109
89
<term><option>-F <replaceable class="parameter">interval</replaceable></option></term>
@@ -120,6 +100,50 @@ PostgreSQL documentation
120
100
</listitem>
121
101
</varlistentry>
122
102
103
+ <varlistentry>
104
+ <term><option>-n</option></term>
105
+ <term><option>--no-loop</option></term>
106
+ <listitem>
107
+ <para>
108
+ Don't loop on connection errors. Instead, exit right away with
109
+ an error.
110
+ </para>
111
+ </listitem>
112
+ </varlistentry>
113
+
114
+ <varlistentry>
115
+ <term><option>-s <replaceable class="parameter">interval</replaceable></option></term>
116
+ <term><option>--status-interval=<replaceable class="parameter">interval</replaceable></option></term>
117
+ <listitem>
118
+ <para>
119
+ Specifies the number of seconds between status packets sent back to the
120
+ server. This allows for easier monitoring of the progress from server.
121
+ A value of zero disables the periodic status updates completely,
122
+ although an update will still be sent when requested by the server, to
123
+ avoid timeout disconnect. The default value is 10 seconds.
124
+ </para>
125
+ </listitem>
126
+ </varlistentry>
127
+
128
+ <varlistentry>
129
+ <term><option>-S <replaceable>slotname</replaceable></option></term>
130
+ <term><option>--slot=<replaceable class="parameter">slotname</replaceable></option></term>
131
+ <listitem>
132
+ <para>
133
+ Require <application>pg_receivexlog</application> to use an existing
134
+ replication slot (see <xref linkend="streaming-replication-slots">).
135
+ When this option is used, <application>pg_receivexlog</> will report
136
+ a flush position to the server, indicating when each segment has been
137
+ synchronized to disk so that the server can remove that segment if it
138
+ is not otherwise needed. When using this parameter, it is important
139
+ to make sure that <application>pg_receivexlog</> cannot become the
140
+ synchronous standby through an incautious setting of
141
+ <xref linkend="guc-synchronous-standby-names">; it does not flush
142
+ data frequently enough for this to work correctly.
143
+ </para>
144
+ </listitem>
145
+ </varlistentry>
146
+
123
147
<varlistentry>
124
148
<term><option>-v</option></term>
125
149
<term><option>--verbose</option></term>
@@ -129,9 +153,7 @@ PostgreSQL documentation
129
153
</para>
130
154
</listitem>
131
155
</varlistentry>
132
-
133
156
</variablelist>
134
- </para>
135
157
136
158
<para>
137
159
The following command-line options control the database connection parameters.
@@ -181,20 +203,6 @@ PostgreSQL documentation
181
203
</listitem>
182
204
</varlistentry>
183
205
184
- <varlistentry>
185
- <term><option>-s <replaceable class="parameter">interval</replaceable></option></term>
186
- <term><option>--status-interval=<replaceable class="parameter">interval</replaceable></option></term>
187
- <listitem>
188
- <para>
189
- Specifies the number of seconds between status packets sent back to the
190
- server. This allows for easier monitoring of the progress from server.
191
- A value of zero disables the periodic status updates completely,
192
- although an update will still be sent when requested by the server, to
193
- avoid timeout disconnect. The default value is 10 seconds.
194
- </para>
195
- </listitem>
196
- </varlistentry>
197
-
198
206
<varlistentry>
199
207
<term><option>-U <replaceable>username</replaceable></option></term>
200
208
<term><option>--username=<replaceable class="parameter">username</replaceable></option></term>
@@ -240,27 +248,6 @@ PostgreSQL documentation
240
248
</para>
241
249
</listitem>
242
250
</varlistentry>
243
-
244
- <varlistentry>
245
- <term><option>-S <replaceable>slotname</replaceable></option></term>
246
- <term><option>--slot=<replaceable class="parameter">slotname</replaceable></option></term>
247
- <listitem>
248
- <para>
249
- Require <application>pg_receivexlog</application> to use an existing
250
- replication slot (see <xref linkend="streaming-replication-slots">).
251
- When this option is used, <application>pg_receivexlog</> will report
252
- a flush position to the server, indicating when each segment has been
253
- synchronized to disk so that the server can remove that segment if it
254
- is not otherwise needed. When using this parameter, it is important
255
- to make sure that <application>pg_receivexlog</> cannot become the
256
- synchronous standby through an incautious setting of
257
- <xref linkend="guc-synchronous-standby-names">; it does not flush
258
- data frequently enough for this to work correctly. In
259
- <option>--create-slot</option> mode, create the slot with this name.
260
- In <option>--drop-slot</option> mode, delete the slot with this name.
261
- </para>
262
- </listitem>
263
- </varlistentry>
264
251
</variablelist>
265
252
</para>
266
253
0 commit comments