"maxretries" option of pg_standby doesn't work as expected

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема "maxretries" option of pg_standby doesn't work as expected
Дата
Msg-id 3f0b79eb0903251929v5bd4c075h3b0a382b6f4bf722@mail.gmail.com
обсуждение исходный текст
Ответы Re: "maxretries" option of pg_standby doesn't work as expected
Список pgsql-hackers
Hi,

> Set the maximum number of times to retry the copy or link command

maxretries option of pg_standby is documented as above, but actually
indicates the maximum number of times to *try* the copy or link command.
So, if "-r 0" is specified, pg_standby always fails.

Attached is the patch which adjusted the code so that maxretries actually
indicates the number of retry.

Comments?

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: SSL over Unix-domain sockets
Следующее
От: Robert Haas
Дата:
Сообщение: Re: small but useful patches for text search