Re: Replication: slave is in permanent startup 'recovery'

Поиск
Список
Период
Сортировка
От Henry C.
Тема Re: Replication: slave is in permanent startup 'recovery'
Дата
Msg-id 1e25cf2d3557dd744212c679d1ab6a70.squirrel@zenmail.co.za
обсуждение исходный текст
Ответ на Replication: slave is in permanent startup 'recovery'  ("Henry C." <henka@cityweb.co.za>)
Ответы Re: Replication: slave is in permanent startup 'recovery'  (Tomas Vondra <tv@fuzzy.cz>)
Список pgsql-general
Forgot to mention recovery.conf on slave:

standby_mode = 'on'
primary_conninfo = 'host..."
restore_command = 'cp /home/psql-wal-archive/%f "%p"'
archive_cleanup_command = 'pg_archivecleanup /home/psql-wal-archive %r'


The wiki states "If wal_keep_segments is a high enough number to retain the
WAL segments required for the standby server, this [restore_command] may not
be necessary."

Presumably this is referring to wal_keep_segments config on the master, right?


В списке pgsql-general по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: [ADMIN] Streaming Replication limitations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN] Streaming Replication limitations