Re: 7.2 pg_hba.conf load on SIGHUP?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 7.2 pg_hba.conf load on SIGHUP?
Дата
Msg-id 22926.1005885755@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 7.2 pg_hba.conf load on SIGHUP?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: 7.2 pg_hba.conf load on SIGHUP?
Список pgsql-general
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> Will a HUP cause the child postgres processes to restart as well?
>> What if a transaction is occuring at the time of the HUP?

> Again, no effect on children of postmaster.

Not so.  The postmaster responds to the signal as soon as it's idle,
rereads the conf file itself, and rebroadcasts SIGHUP to all its
children.  The children then reread the conf file immediately after they
next receive a query from their clients.  See postmaster/postmaster.c
and tcop/postgres.c.

A lot of the configuration file entries are not allowed to change in a
running backend, so the children will ignore attempted changes in those
entries.  But for entries that can be changed on the fly, the response
is reasonably prompt across the board.

            regards, tom lane

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

Предыдущее
От: Barry Lind
Дата:
Сообщение: bug or change in functionality in 7.2?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.2 pg_hba.conf load on SIGHUP?