postgresql standby using pg_archivecleanup don't work

Поиск
Список
Период
Сортировка
От leo xu
Тема postgresql standby using pg_archivecleanup don't work
Дата
Msg-id 1335507240218-5669340.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: postgresql standby using pg_archivecleanup don't work
Re: postgresql standby using pg_archivecleanup don't work
Список 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 по дате отправления:

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Difference between speed of 2 functions: SQL+STABLE and PLPGSQL+EXECUTE
Следующее
От: leaf_yxj
Дата:
Сообщение: how to set up automatically startup database when the server boot or reboot.