Re: BUG #16215: Restore failes if number of workers in postgresql.conf is lower than on source system

Поиск
Список
Период
Сортировка
От Sergei Kornilov
Тема Re: BUG #16215: Restore failes if number of workers in postgresql.conf is lower than on source system
Дата
Msg-id 3736031579254336@vla5-dcf36e533bf7.qloud-c.yandex.net
обсуждение исходный текст
Ответ на Re: BUG #16215: Restore failes if number of workers inpostgresql.conf is lower than on source system  (Stefan Sonnenberg-Carstens <stefan.sonnenberg.carstens@gmail.com>)
Ответы Re: BUG #16215: Restore failes if number of workers inpostgresql.conf is lower than on source system  (Stefan Sonnenberg-Carstens <stefan.sonnenberg.carstens@gmail.com>)
Список pgsql-bugs
Hello

> as far as I understand these restrictions apply when hot_standby is set to on AND a recovery.conf is missing.

When hot_standby is set to on AND a recovery.conf is PRESENT
Here is: https://github.com/postgres/postgres/blob/REL_10_STABLE/src/backend/access/transam/xlog.c#L6185
ArchiveRecoveryRequested is set if we found recovery.conf (see readRecoveryCommandFile)

> I can confirm that hot_standby is commented out - is this setting on by default?

Yes, in postgresql 10 and newer.

regards, Sergei



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

Предыдущее
От: Stefan Sonnenberg-Carstens
Дата:
Сообщение: Re: BUG #16215: Restore failes if number of workers inpostgresql.conf is lower than on source system
Следующее
От: Stefan Sonnenberg-Carstens
Дата:
Сообщение: Re: BUG #16215: Restore failes if number of workers inpostgresql.conf is lower than on source system