Commit d915a275 authored by Tom Lane's avatar Tom Lane

Improve pgarchivecleanup documentation, per comments from Satoshi Nagayasu.

parent 82954d49
<!-- $PostgreSQL: pgsql/doc/src/sgml/pgarchivecleanup.sgml,v 1.2 2010/07/29 19:34:40 petere Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/pgarchivecleanup.sgml,v 1.3 2010/08/15 20:20:30 tgl Exp $ -->
<sect1 id="pgarchivecleanup"> <sect1 id="pgarchivecleanup">
<title>pg_archivecleanup</title> <title>pg_archivecleanup</title>
...@@ -106,7 +106,7 @@ pg_archivecleanup: removing "archive/00000001000000370000000E" ...@@ -106,7 +106,7 @@ pg_archivecleanup: removing "archive/00000001000000370000000E"
<para>On Linux or Unix systems, you might use: <para>On Linux or Unix systems, you might use:
<programlisting> <programlisting>
archive_cleanup_command = 'pg_archivecleanup -d .../archive %r 2>>cleanup.log' archive_cleanup_command = 'pg_archivecleanup -d /mnt/standby/archive %r 2>>cleanup.log'
</programlisting> </programlisting>
where the archive directory is physically located on the standby server, where the archive directory is physically located on the standby server,
so that the <literal>archive_command</> is accessing it across NFS, so that the <literal>archive_command</> is accessing it across NFS,
...@@ -116,7 +116,7 @@ archive_cleanup_command = 'pg_archivecleanup -d .../archive %r 2>>cleanup.log' ...@@ -116,7 +116,7 @@ archive_cleanup_command = 'pg_archivecleanup -d .../archive %r 2>>cleanup.log'
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
produce debugging output in <filename>standby.log</> produce debugging output in <filename>cleanup.log</>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment