]> granicus.if.org Git - postgresql/commitdiff
Remove example of archive_command from configure section; instead have
authorBruce Momjian <bruce@momjian.us>
Mon, 12 Apr 2010 22:09:58 +0000 (22:09 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 12 Apr 2010 22:09:58 +0000 (22:09 +0000)
users look at the referenced section for examples, per idea from Greg
Smith.

doc/src/sgml/config.sgml

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