Skip to content

Commit 0a2d43d

Browse files
committed
doc: Document pg_receivewal exit behavior and status
1 parent 514731a commit 0a2d43d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

doc/src/sgml/ref/pg_receivewal.sgml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ PostgreSQL documentation
7373
as possible. To avoid this behavior, use the <literal>-n</literal>
7474
parameter.
7575
</para>
76+
77+
<para>
78+
In the absence of fatal errors, <application>pg_receivewal</application>
79+
will run until terminated by the <systemitem>SIGINT</systemitem> signal
80+
(<keycombo action="simul"><keycap>Control</><keycap>C</></>).
81+
</para>
7682
</refsect1>
7783

7884
<refsect1>
@@ -348,6 +354,18 @@ PostgreSQL documentation
348354

349355
</refsect1>
350356

357+
<refsect1>
358+
<title>Exit Status</title>
359+
360+
<para>
361+
<application>pg_receivewal</application> will exit with status 0 when
362+
terminated by the <systemitem>SIGINT</systemitem> signal. (That is the
363+
normal way to end it. Hence it is not an error.) For fatal errors or
364+
other signals, the exit status will be nonzero.
365+
</para>
366+
367+
</refsect1>
368+
351369
<refsect1>
352370
<title>Environment</title>
353371

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy