aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorItagaki Takahiro <itagaki.takahiro@gmail.com>2010-06-10 08:13:50 +0000
committerItagaki Takahiro <itagaki.takahiro@gmail.com>2010-06-10 08:13:50 +0000
commit56834fc759d74d7be645186c09ca65757f12e96a (patch)
tree7f3c0175898575e46266e6ce46fe857af34641d3 /doc/src
parent0a7cb8553180d3525c37a324a0cc5fcc2a2e9d03 (diff)
downloadpostgresql-56834fc759d74d7be645186c09ca65757f12e96a.tar.gz
postgresql-56834fc759d74d7be645186c09ca65757f12e96a.zip
Rename restartpoint_command to archive_cleanup_command.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/high-availability.sgml6
-rw-r--r--doc/src/sgml/recovery-config.sgml12
2 files changed, 9 insertions, 9 deletions
diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml
index 8aa4ecde5f0..cc11ce69bd2 100644
--- a/doc/src/sgml/high-availability.sgml
+++ b/doc/src/sgml/high-availability.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.71 2010/06/07 02:01:08 itagaki Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.72 2010/06/10 08:13:49 itagaki Exp $ -->
<chapter id="high-availability">
<title>High Availability, Load Balancing, and Replication</title>
@@ -681,7 +681,7 @@ protocol to make nodes agree on a serializable transactional order.
</para>
<para>
- You can use <varname>restartpoint_command</> to prune the archive of
+ You can use <varname>archive_cleanup_command</> to prune the archive of
files no longer needed by the standby.
</para>
@@ -714,7 +714,7 @@ trigger_file = '/path/to/trigger_file'
<para>
If you're using a WAL archive, its size can be minimized using
- the <varname>restartpoint_command</> option to remove files that are
+ the <varname>archive_cleanup_command</> option to remove files that are
no longer required by the standby server. Note however, that if you're
using the archive for backup purposes, you need to retain files needed
to recover from at least the latest base backup, even if they're no
diff --git a/doc/src/sgml/recovery-config.sgml b/doc/src/sgml/recovery-config.sgml
index 041b2bc6147..5bea0f37d6a 100644
--- a/doc/src/sgml/recovery-config.sgml
+++ b/doc/src/sgml/recovery-config.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/recovery-config.sgml,v 2.6 2010/04/28 07:34:11 heikki Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/recovery-config.sgml,v 2.7 2010/06/10 08:13:49 itagaki Exp $ -->
<chapter Id="recovery-config">
<title>Recovery Configuration</title>
@@ -73,16 +73,16 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
</listitem>
</varlistentry>
- <varlistentry id="restartpoint-command" xreflabel="restartpoint_command">
- <term><varname>restartpoint_command</varname> (<type>string</type>)</term>
+ <varlistentry id="archive-cleanup-command" xreflabel="archive_cleanup_command">
+ <term><varname>archive_cleanup_command</varname> (<type>string</type>)</term>
<indexterm>
- <primary><varname>restartpoint_command</> recovery parameter</primary>
+ <primary><varname>archive_cleanup_command</> recovery parameter</primary>
</indexterm>
<listitem>
<para>
This parameter specifies a shell command that will be executed at
every restartpoint. This parameter is optional. The purpose of the
- <varname>restartpoint_command</> is to provide a mechanism for cleaning
+ <varname>archive_cleanup_command</> is to provide a mechanism for cleaning
up old archived WAL files that are no longer needed by the standby
server.
Any <literal>%r</> is replaced by the name of the file
@@ -114,7 +114,7 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
<varname>recovery_end_command</> is to provide a mechanism for cleanup
following replication or recovery.
Any <literal>%r</> is replaced by the name of the file containing the
- last valid restart point, like in <xref linkend="restartpoint-command">.
+ last valid restart point, like in <xref linkend="archive-cleanup-command">.
</para>
<para>
If the command returns a non-zero exit status then a WARNING log