Re: archive_cleanup_command recovery.conf Standby server error - Mailing list pgsql-general

From Adrian Klaver
Subject Re: archive_cleanup_command recovery.conf Standby server error
Date
Msg-id 201202280651.01063.adrian.klaver@gmail.com
Whole thread Raw
In response to archive_cleanup_command recovery.conf Standby server error  (chinnaobi <chinnaobi@gmail.com>)
Responses Re: archive_cleanup_command recovery.conf Standby server error  (chinnaobi <chinnaobi@gmail.com>)
List 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.klaver@gmail.com

pgsql-general by date:

Previous
From: Adam Bruss
Date:
Subject: Re: accumulating handles problem on machine running postgresql
Next
From: Chris McCormick
Date:
Subject: Problem with initdb and two versions on one server?