Re: BUG #18666: Standby cluster does not start after building from Primary cluster.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #18666: Standby cluster does not start after building from Primary cluster.
Дата
Msg-id 1551043.1729520412@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #18666: Standby cluster does not start after building from Primary cluster.  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> Standby cluster does not start after building from Primary cluster. 

I think your archiving setup is broken:

> archive_command = 'cp %p /dev/null'
> ...
> restore_command = 'cp /opt/archivelog/%f %p'

BTW, "cp" is widely regarded as not being safe enough for production
archiving, because it doesn't fsync.  But this archive_command
isn't even trying.  So it's not surprising if there's not enough WAL
to recover from.

            regards, tom lane



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