1- <!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.263 2010/04/12 09:52:29 heikki Exp $ -->
1+ <!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.264 2010/04/1222: 09:58 momjian Exp $ -->
22
33<chapter Id="runtime-config">
44 <title>Server Configuration</title>
@@ -1721,8 +1721,11 @@ SET ENABLE_SEQSCAN TO OFF;
17211721 (The path name is relative to the working directory of the server,
17221722 i.e., the cluster's data directory.)
17231723 Use <literal>%%</> to embed an actual <literal>%</> character in the
1724- command. For more information see <xref
1725- linkend="backup-archiving-wal">.
1724+ command. It is important for the command to return a zero
1725+ exit status only if it succeeds. For more information see
1726+ <xref linkend="backup-archiving-wal">.
1727+ </para>
1728+ <para>
17261729 This parameter can only be set in the <filename>postgresql.conf</>
17271730 file or on the server command line. It is ignored unless
17281731 <varname>archive_mode</> was enabled at server start.
@@ -1735,14 +1738,6 @@ SET ENABLE_SEQSCAN TO OFF;
17351738 archiving, but also breaks the chain of WAL files needed for
17361739 archive recovery, so it should only be used in unusual circumstances.
17371740 </para>
1738- <para>
1739- It is important for the command to return a zero exit status if
1740- and only if it succeeds. Examples:
1741- <programlisting>
1742- archive_command = 'cp "%p" /mnt/server/archivedir/"%f"'
1743- archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windows
1744- </programlisting>
1745- </para>
17461741 </listitem>
17471742 </varlistentry>
17481743