Re: Behaviour of bgworker with SIGHUP

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Behaviour of bgworker with SIGHUP
Дата
Msg-id 20130410163958.GP3751@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Behaviour of bgworker with SIGHUP  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-hackers
Guillaume Lelarge wrote:

> worker_spi.naptime is the naptime between two checks.
> worker_spi.total_workers is the number of workers to launch at
> postmaster start time. The first one can change with a sighup, the last
> one obviously needs a restart.

Many thanks.  Pushed as
http://git.postgresql.org/pg/commitdiff/e543631f3c162ab5f6020b1d0209e0353ca2229a
along a few other tweaks.  I hope the code is more useful as a sample now.

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



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Problem with background worker
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Inconsistent DB data in Streaming Replication