doc: Document pg_receivewal exit behavior and status
authorPeter Eisentraut
Wed, 16 Aug 2017 00:26:58 +0000 (20:26 -0400)
committerPeter Eisentraut
Wed, 16 Aug 2017 00:26:58 +0000 (20:26 -0400)
doc/src/sgml/ref/pg_receivewal.sgml

index a17082bb11c1af25b0c545d97f010fb2a22a9148..7c82e36c7c86b97be0e6e61095133cebd6975f10 100644 (file)
@@ -73,6 +73,12 @@ PostgreSQL documentation
    as possible. To avoid this behavior, use the -n
    parameter.
   
+
+  
+   In the absence of fatal errors, pg_receivewal
+   will run until terminated by the SIGINT signal
+   (ControlC).
+  
  
 
  
@@ -348,6 +354,18 @@ PostgreSQL documentation
 
  
 
+  Exit Status
+
+  
+   pg_receivewal will exit with status 0 when
+   terminated by the SIGINT 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.
+  
+
+
  
   Environment