Re: Behaviour of bgworker with SIGHUP - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Behaviour of bgworker with SIGHUP
Date
Msg-id 20130410163958.GP3751@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: Behaviour of bgworker with SIGHUP  (Guillaume Lelarge <guillaume@lelarge.info>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Problem with background worker
Next
From: Fujii Masao
Date:
Subject: Re: Inconsistent DB data in Streaming Replication