11<!--
2- doc/src/sgml/ref/pg_receivexlog .sgml
2+ doc/src/sgml/ref/pg_receivewal .sgml
33PostgreSQL documentation
44-->
55
6- <refentry id="app-pgreceivexlog ">
7- <indexterm zone="app-pgreceivexlog ">
8- <primary>pg_receivexlog </primary>
6+ <refentry id="app-pgreceivewal ">
7+ <indexterm zone="app-pgreceivewal ">
8+ <primary>pg_receivewal </primary>
99 </indexterm>
1010
1111 <refmeta>
12- <refentrytitle>pg_receivexlog </refentrytitle>
12+ <refentrytitle>pg_receivewal </refentrytitle>
1313 <manvolnum>1</manvolnum>
1414 <refmiscinfo>Application</refmiscinfo>
1515 </refmeta>
1616
1717 <refnamediv>
18- <refname>pg_receivexlog </refname>
18+ <refname>pg_receivewal </refname>
1919 <refpurpose>stream transaction logs from a <productname>PostgreSQL</productname> server</refpurpose>
2020 </refnamediv>
2121
2222 <refsynopsisdiv>
2323 <cmdsynopsis>
24- <command>pg_receivexlog </command>
24+ <command>pg_receivewal </command>
2525 <arg rep="repeat"><replaceable>option</></arg>
2626 </cmdsynopsis>
2727 </refsynopsisdiv>
@@ -31,7 +31,7 @@ PostgreSQL documentation
3131 Description
3232 </title>
3333 <para>
34- <application>pg_receivexlog </application> is used to stream the transaction log
34+ <application>pg_receivewal </application> is used to stream the transaction log
3535 from a running <productname>PostgreSQL</productname> cluster. The transaction
3636 log is streamed using the streaming replication protocol, and is written
3737 to a local directory of files. This directory can be used as the archive
@@ -40,16 +40,16 @@ PostgreSQL documentation
4040 </para>
4141
4242 <para>
43- <application>pg_receivexlog </application> streams the transaction
43+ <application>pg_receivewal </application> streams the transaction
4444 log in real time as it's being generated on the server, and does not wait
4545 for segments to complete like <xref linkend="guc-archive-command"> does.
4646 For this reason, it is not necessary to set
4747 <xref linkend="guc-archive-timeout"> when using
48- <application>pg_receivexlog </application>.
48+ <application>pg_receivewal </application>.
4949 </para>
5050
5151 <para>
52- Unlike the WAL receiver of a PostgreSQL standby server, <application>pg_receivexlog </>
52+ Unlike the WAL receiver of a PostgreSQL standby server, <application>pg_receivewal </>
5353 by default flushes WAL data only when a WAL file is closed.
5454 The option <option>--synchronous</> must be specified to flush WAL data
5555 in real time.
@@ -68,7 +68,7 @@ PostgreSQL documentation
6868
6969 <para>
7070 If the connection is lost, or if it cannot be initially established,
71- with a non-fatal error, <application>pg_receivexlog </application> will
71+ with a non-fatal error, <application>pg_receivewal </application> will
7272 retry the connection indefinitely, and reestablish streaming as soon
7373 as possible. To avoid this behavior, use the <literal>-n</literal>
7474 parameter.
@@ -132,17 +132,17 @@ PostgreSQL documentation
132132 <term><option>--slot=<replaceable class="parameter">slotname</replaceable></option></term>
133133 <listitem>
134134 <para>
135- Require <application>pg_receivexlog </application> to use an existing
135+ Require <application>pg_receivewal </application> to use an existing
136136 replication slot (see <xref linkend="streaming-replication-slots">).
137- When this option is used, <application>pg_receivexlog </> will report
137+ When this option is used, <application>pg_receivewal </> will report
138138 a flush position to the server, indicating when each segment has been
139139 synchronized to disk so that the server can remove that segment if it
140140 is not otherwise needed.
141141 </para>
142142
143143 <para>
144144 When the replication client
145- of <application>pg_receivexlog </application> is configured on the
145+ of <application>pg_receivewal </application> is configured on the
146146 server as a synchronous standby, then using a replication slot will
147147 report the flush position to the server, but only when a WAL file is
148148 closed. Therefore, that configuration will cause transactions on the
@@ -164,7 +164,7 @@ PostgreSQL documentation
164164
165165 <para>
166166 This option should be specified if the replication client
167- of <application>pg_receivexlog </application> is configured on the
167+ of <application>pg_receivewal </application> is configured on the
168168 server as a synchronous standby, to ensure that timely feedback is
169169 sent to the server.
170170 </para>
@@ -209,7 +209,7 @@ PostgreSQL documentation
209209 </para>
210210 <para>
211211 The option is called <literal>--dbname</> for consistency with other
212- client applications, but because <application>pg_receivexlog </application>
212+ client applications, but because <application>pg_receivewal </application>
213213 doesn't connect to any particular database in the cluster, database
214214 name in the connection string will be ignored.
215215 </para>
@@ -273,15 +273,15 @@ PostgreSQL documentation
273273 <term><option>--password</option></term>
274274 <listitem>
275275 <para>
276- Force <application>pg_receivexlog </application> to prompt for a
276+ Force <application>pg_receivewal </application> to prompt for a
277277 password before connecting to a database.
278278 </para>
279279
280280 <para>
281281 This option is never essential, since
282- <application>pg_receivexlog </application> will automatically prompt
282+ <application>pg_receivewal </application> will automatically prompt
283283 for a password if the server demands password authentication.
284- However, <application>pg_receivexlog </application> will waste a
284+ However, <application>pg_receivewal </application> will waste a
285285 connection attempt finding out that the server wants a password.
286286 In some cases it is worth typing <option>-W</> to avoid the extra
287287 connection attempt.
@@ -292,7 +292,7 @@ PostgreSQL documentation
292292 </para>
293293
294294 <para>
295- <application>pg_receivexlog </application> can perform one of the two
295+ <application>pg_receivewal </application> can perform one of the two
296296 following actions in order to control physical replication slots:
297297
298298 <variablelist>
@@ -327,7 +327,7 @@ PostgreSQL documentation
327327 <term><option>--version</></term>
328328 <listitem>
329329 <para>
330- Print the <application>pg_receivexlog </application> version and exit.
330+ Print the <application>pg_receivewal </application> version and exit.
331331 </para>
332332 </listitem>
333333 </varlistentry>
@@ -337,7 +337,7 @@ PostgreSQL documentation
337337 <term><option>--help</></term>
338338 <listitem>
339339 <para>
340- Show help about <application>pg_receivexlog </application> command line
340+ Show help about <application>pg_receivewal </application> command line
341341 arguments, and exit.
342342 </para>
343343 </listitem>
@@ -363,7 +363,7 @@ PostgreSQL documentation
363363 <title>Notes</title>
364364
365365 <para>
366- When using <application>pg_receivexlog </application> instead of
366+ When using <application>pg_receivewal </application> instead of
367367 <xref linkend="guc-archive-command"> as the main WAL backup method, it is
368368 strongly recommended to use replication slots. Otherwise, the server is
369369 free to recycle or remove transaction log files before they are backed up,
@@ -384,7 +384,7 @@ PostgreSQL documentation
384384 <literal>mydbserver</literal> and store it in the local directory
385385 <filename>/usr/local/pgsql/archive</filename>:
386386<screen>
387- <prompt>$</prompt> <userinput>pg_receivexlog -h mydbserver -D /usr/local/pgsql/archive</userinput>
387+ <prompt>$</prompt> <userinput>pg_receivewal -h mydbserver -D /usr/local/pgsql/archive</userinput>
388388</screen></para>
389389 </refsect1>
390390