diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-08-15 20:26:58 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-08-15 20:26:58 -0400 |
commit | 0a2d43d988eef2aee679582ba1b72b2587cbaab2 (patch) | |
tree | 4900d0c70f06a193bf96a417171f4bd2bafcdadc | |
parent | 514731af58765f62b23309805270a07eae86c2c0 (diff) | |
download | postgresql-0a2d43d988eef2aee679582ba1b72b2587cbaab2.tar.gz postgresql-0a2d43d988eef2aee679582ba1b72b2587cbaab2.zip |
doc: Document pg_receivewal exit behavior and status
-rw-r--r-- | doc/src/sgml/ref/pg_receivewal.sgml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/pg_receivewal.sgml b/doc/src/sgml/ref/pg_receivewal.sgml index a17082bb11c..7c82e36c7c8 100644 --- a/doc/src/sgml/ref/pg_receivewal.sgml +++ b/doc/src/sgml/ref/pg_receivewal.sgml @@ -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> @@ -349,6 +355,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> <para> |