diff options
author | Bruce Momjian <bruce@momjian.us> | 2010-04-12 22:09:58 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2010-04-12 22:09:58 +0000 |
commit | 325e9cb3a06b6e35968ad8eee4a606c64519fac9 (patch) | |
tree | eb99a844b4d4eff608c909e56caddc0c2065f205 | |
parent | 202c655810ed5aa65822cb5b621b47a68550b426 (diff) | |
download | postgresql-325e9cb3a06b6e35968ad8eee4a606c64519fac9.tar.gz postgresql-325e9cb3a06b6e35968ad8eee4a606c64519fac9.zip |
Remove example of archive_command from configure section; instead have
users look at the referenced section for examples, per idea from Greg
Smith.
-rw-r--r-- | doc/src/sgml/config.sgml | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 0ca5e402e0c..b65c336cc1f 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -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> |