diff options
Diffstat (limited to 'doc/src/sgml/ref/pg_receivexlog.sgml')
-rw-r--r-- | doc/src/sgml/ref/pg_receivexlog.sgml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/pg_receivexlog.sgml b/doc/src/sgml/ref/pg_receivexlog.sgml index 8e5fca40228..f0a7763bdfc 100644 --- a/doc/src/sgml/ref/pg_receivexlog.sgml +++ b/doc/src/sgml/ref/pg_receivexlog.sgml @@ -58,6 +58,14 @@ PostgreSQL documentation configured with <xref linkend="guc-max-wal-senders"> set high enough to leave at least one session available for the stream. </para> + + <para> + If the connection is lost, or if it cannot be initially established, + with a non-fatal error, <application>pg_receivexlog</application> will + retry the connection indefinitely, and reestablish streaming as soon + as possible. To avoid this behavior, use the <literal>-n</literal> + parameter. + </para> </refsect1> <refsect1> @@ -87,6 +95,17 @@ PostgreSQL documentation <variablelist> <varlistentry> + <term><option>-n</option></term> + <term><option>--noloop</option></term> + <listitem> + <para> + Don't loop on connection errors. Instead, exit right away with + an error. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>-v</option></term> <term><option>--verbose</option></term> <listitem> |