Re: Reading recovery.conf earlier

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Reading recovery.conf earlier
Дата
Msg-id 3f0b79eb0912062003q1fdc0e06m4830df5a19369110@mail.gmail.com
обсуждение исходный текст
Ответ на Reading recovery.conf earlier  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Reading recovery.conf earlier
Список pgsql-hackers
On Sun, Dec 6, 2009 at 2:49 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> Proposal is to split out the couple of lines in
> readRecoveryCommandFile() that set important state and make it read in
> an option block that can be used by caller. It would then be called by
> both postmaster (earlier in startup) and again later by startup process,
> as happens now. I want to do it that way so I can read file before we
> create shared memory, so I don't have to worry about passing details via
> shared memory itself.

I agree with the proposal that postmaster reads the recovery.conf.
Because this would enable all child processes to easily obtain the
parameter values in that, like GUC parameters.

But I'm not sure why recovery.conf should be read separately by
postmaster and the startup process. How about making postmaster
read all of that for the simplification?

Regards,

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


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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: YAML Was: CommitFest status/management
Следующее
От: Greg Smith
Дата:
Сообщение: Re: [PATCH] Largeobject Access Controls (r2460)