Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit325e9cb

Browse files
committed
Remove example of archive_command from configure section; instead have
users look at the referenced section for examples, per idea from GregSmith.
1 parent202c655 commit325e9cb

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp