Re: The behavior of CheckRequiredParameterValues()

Поиск
Список
Период
Сортировка
От Sawada Masahiko
Тема Re: The behavior of CheckRequiredParameterValues()
Дата
Msg-id CAD21AoCq_-Pm6or5A1A-KoN8pys51LFv8UHaxeA=OMu-xci+Nw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: The behavior of CheckRequiredParameterValues()  (Amit Langote <amitlangote09@gmail.com>)
Список pgsql-hackers
On Wed, Mar 5, 2014 at 5:13 PM, Amit Langote <amitlangote09@gmail.com> wrote:
> On Wed, Mar 5, 2014 at 12:07 PM, Amit Langote <amitlangote09@gmail.com> wrote:
>> On Wed, Mar 5, 2014 at 2:09 AM, Sawada Masahiko <sawada.mshk@gmail.com> wrote:
>>
>>>
>>> xlog.c:6177
>>>  if (ControlFile->wal_level < WAL_LEVEL_HOT_STANDBY)
>>>      ereport(ERROR,
>>>              (errmsg("hot standby is not possible because wal_level was not
>>>
>>> So we have to start and stop standby server with changed
>>> wal_level(i.g., hot_standby) if we want to enable hot standby.
>>> In this case, I think that the standby server didn't need to confirm
>>> wal_level value of ControlFile.
>>> I think that it should confirm value which is written in postgreql.conf.
>>>
>>
>> I think checking it from the control file on a standby in recovery
>> means that we should confirm if the *wal_level with which the WAL was
>> generated* is sufficient to now become a hot standby after recovery
>> finishes.
>>
>
> Sorry, should have said:
> *become a hot standby after recovery reaches a consistent state
>

Thank you for explain!
I understood it!


Regards,

-------
Sawada Masahiko



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: jsonb and nested hstore
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [BUGS] BUG #9223: plperlu result memory leak