Re: Reading recovery.conf earlier

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Reading recovery.conf earlier
Дата
Msg-id 4B1CB920.6030807@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Reading recovery.conf earlier  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Reading recovery.conf earlier  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs wrote:
> What postgresql.conf already does is read file separately in each
> process, so no data passing.

No it doesn't. Postmaster reads the file once, and backends inherit the
values at fork(). In EXEC_BACKEND case, postmaster writes all the
non-default values to a separate file, which the child process reads at
startup.

Reading the file separately in each process would cause trouble with
PGC_POSTMASTER params. All backends must agree on their values.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Hot standby, recent changes
Следующее
От: Hitoshi Harada
Дата:
Сообщение: Re: YAML Was: CommitFest status/management