Re: BUG #8225: logging options don't change after reload

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #8225: logging options don't change after reload
Дата
Msg-id 20130614010102.GR5491@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: BUG #8225: logging options don't change after reload  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom Lane wrote:
> jeff@pgexperts.com writes:
> > What happens is that we change various logging options in postgresql.conf,
> > then reload, and every so often, the settings don't seem to take effect even
> > though they are logged as being changed.
>
> FWIW, the "parameter changed" messages are logged when the postmaster
> process updates its values of the GUCs.  The particular options you're
> complaining of here, though, are not actually checked in the postmaster
> --- they're used in the checkpointer or syslogger processes
> respectively.  So one theory about this would be that those processes
> aren't absorbing the GUC updates, perhaps because the SIGHUP signals the
> postmaster should be sending them are getting lost.

Another idea is that postmaster sees the changed file but the other
processes see an older version of it -- which would be pretty bizarre,
but ..

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #8225: logging options don't change after reload
Следующее
От: Jeff Frost
Дата:
Сообщение: Re: BUG #8225: logging options don't change after reload