From: | leo xu <leoxu8703(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | postgresql standby using pg_archivecleanup don't work |
Date: | 2012-04-27 06:14:00 |
Message-ID: | 1335507240218-5669340.post@n5.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Frank Lanitz | 2012-04-27 09:42:42 | Is it possible to call other functions inside plpythonu? |
Previous Message | John DeSoi | 2012-04-27 04:09:22 | Re: PHP SQL Color Syntax that is Postgresql & GPL3 Compatible? |