postgresql standby using pg_archivecleanup don't work - Mailing list pgsql-general

From leo xu
Subject postgresql standby using pg_archivecleanup don't work
Date
Msg-id 1335507240218-5669340.post@n5.nabble.com
Whole thread Raw
Responses Re: postgresql standby using pg_archivecleanup don't work
Re: postgresql standby using pg_archivecleanup don't work
List pgsql-general
i have one parimary ,two standby. one standby using stream replication
connect to primary.another standby using basebackup,then recovery database
--cp archivelog from primary using crontab.i want to delete old archivelog
from standby.but configure pg_archivecleanup don't work,meantime no error in
postgresql log.postgresql version is 9.1.2.
   the following is my recovery.conf :
   This is my recovery.conf:

standby_mode = 'on'
restore_command = 'cp /attend_pg_backup/u02/pg9.1/archivelog/%f %p'
archive_cleanup_command ='pg_archivecleanup
/attend_pg_backup/u02/pg9.1/archivelog %r'



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/postgresql-standby-using-pg-archivecleanup-don-t-work-tp5669340p5669340.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

pgsql-general by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: Difference between speed of 2 functions: SQL+STABLE and PLPGSQL+EXECUTE
Next
From: leaf_yxj
Date:
Subject: how to set up automatically startup database when the server boot or reboot.