Re: archive_cleanup_command recovery.conf Standby server error

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: chinnaobi <chinnaobi(at)gmail(dot)com>
Subject: Re: archive_cleanup_command recovery.conf Standby server error
Date: 2012-02-28 14:51:00
Message-ID: 201202280651.01063.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Monday, February 27, 2012 10:36:08 pm chinnaobi wrote:
> Streaming replication in the standby has successfully started (windows 2008
> server) but, the configuration in the recovery.conf :
>
> archive_cleanup_command='pg_archivecleanup
> \\\\10.1.18.16\\DB_Stream_Share\\ %r'
> What is the correct command there ???
>

pg_archivecleanup is an external module you will need to install it:

http://www.postgresql.org/docs/9.1/interactive/pgarchivecleanup.html

Here is the page on modules:
http://www.postgresql.org/docs/9.1/interactive/contrib.html

Not sure how this is handled on Windows and if the module is included in the
installer stack.

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-02-28 15:32:16 Re: Problem with initdb and two versions on one server?
Previous Message Adam Bruss 2012-02-28 14:48:48 Re: accumulating handles problem on machine running postgresql