doc: Document pg_receivewal exit behavior and status

This commit is contained in:
Peter Eisentraut 2017-08-15 20:26:58 -04:00
parent 514731af58
commit 0a2d43d988

View File

@ -73,6 +73,12 @@ PostgreSQL documentation
as possible. To avoid this behavior, use the <literal>-n</literal>
parameter.
</para>
<para>
In the absence of fatal errors, <application>pg_receivewal</application>
will run until terminated by the <systemitem>SIGINT</systemitem> signal
(<keycombo action="simul"><keycap>Control</><keycap>C</></>).
</para>
</refsect1>
<refsect1>
@ -348,6 +354,18 @@ PostgreSQL documentation
</refsect1>
<refsect1>
<title>Exit Status</title>
<para>
<application>pg_receivewal</application> will exit with status 0 when
terminated by the <systemitem>SIGINT</systemitem> signal. (That is the
normal way to end it. Hence it is not an error.) For fatal errors or
other signals, the exit status will be nonzero.
</para>
</refsect1>
<refsect1>
<title>Environment</title>