Re: Parameter name standby_mode

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Parameter name standby_mode
Дата
Msg-id 3f0b79eb1003292126t9bf98f7wb9876acbf53c9abc@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Parameter name standby_mode  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: Parameter name standby_mode  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Wed, Mar 3, 2010 at 9:41 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Wed, Feb 24, 2010 at 2:18 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> If standby_mode is enabled, and neither primary_conninfo nor restore_command
>> are set, the standby would get stuck. How about forbidding (i.e., causing a
>> FATAL message) this wrong setting?
>
> Here is the patch which forbids that wrong setting of recovery.conf.

I think that this patch should be applied. Otherwise, if you wrongly
set neither primary_conninfo nor restore_command in recovery.conf,
the standby server would do nothing and get stuck because it doesn't
know where to retrieve the WAL files from. Banning the incorrect
setting makes sense to me.

Does anyone commit the patch? Does anyone have a say?

Regards,

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


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: GSoC
Следующее
От: Takahiro Itagaki
Дата:
Сообщение: Questions about 9.0 release note