7070restore_command = 'cp /mnt/server/archivedir/%f "%p"'
7171restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
7272</programlisting>
73+ An exception is that if the command was terminated by a signal (other
74+ than <systemitem>SIGTERM</systemitem>, which is used as part of a
75+ database server shutdown) or an error by the shell (such as command
76+ not found), then recovery will abort and the server will not start up.
7377 </para>
7478 </listitem>
7579 </varlistentry>
@@ -106,8 +110,10 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
106110 command.
107111 </para>
108112 <para>
109- If the command returns a non-zero exit status then a WARNING log
110- message will be written.
113+ If the command returns a nonzero exit status then a warning log
114+ message will be written. An exception is that if the command was
115+ terminated by a signal or an error by the shell (such as command not
116+ found), a fatal error will be raised.
111117 </para>
112118 </listitem>
113119 </varlistentry>
@@ -127,10 +133,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
127133 last valid restart point, like in <xref linkend="archive-cleanup-command">.
128134 </para>
129135 <para>
130- If the command returns a non-zero exit status then a WARNING log
136+ If the command returns a nonzero exit status then a warning log
131137 message will be written and the database will proceed to start up
132138 anyway. An exception is that if the command was terminated by a
133- signal, the database will not proceed with startup.
139+ signal or an error by the shell (such as command not found), the
140+ database will not proceed with startup.
134141 </para>
135142 </listitem>
136143 </varlistentry>
0 commit comments