Re: booleans in recovery.conf

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: booleans in recovery.conf
Дата
Msg-id 1269889686.3684.4170.camel@ebony
обсуждение исходный текст
Ответ на booleans in recovery.conf  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: booleans in recovery.conf  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Tue, 2010-03-23 at 19:43 -0400, Bruce Momjian wrote:
> Is there a reason that recovery.conf uses true/false, while
> postgresql.conf uses on/off?
> 
>     #recovery_target_inclusive = 'true'             # 'true' or 'false'
> 
> or are these settings more boolean for some reason?

The code accepts any of  on|off|true|false and uses the same code as the
postgresql.conf for parsing that.

I've changed the standby_mode to on|off as per the docs. I left the
above parameter because true|false reads better.

-- Simon Riggs           www.2ndQuadrant.com



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Alpha release this week?
Следующее
От: Alex Hunsaker
Дата:
Сообщение: Re: enable_joinremoval