Re: Parameter oddness; was HS/SR Assert server crash

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Parameter oddness; was HS/SR Assert server crash
Дата
Msg-id 4BED77F702000025000317C6@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: Parameter oddness; was HS/SR Assert server crash  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Parameter oddness; was HS/SR Assert server crash  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> wrote:
> One odd thing is we have two paramters that mention hot_standby
> --- on the master we have to do in postgresql.conf:
> 
>     wal_level = hot_standby
> 
> and on the slave we do in postgresql.conf:
> 
>     hot_standby = on
> 
> That is a little confusing.
Why?  I read that as saying that the master is writing sufficient
data into the WAL for it to be usable for hot standby purposes, and
that that the slave machine is going to be used as a hot standby. 
You'd better do the former if you're going to do the latter, but
there were good reasons not to try to infer one setting from the
other.
-Kevin


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Parameter oddness; was HS/SR Assert server crash
Следующее
От: Tom Lane
Дата:
Сообщение: Re: recovery consistent != hot standby