Re: Behaviour of bgworker with SIGHUP
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Guillaume Lelarge <guillaume@lelarge.info>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2013-04-10T16:39:59Z
Lists: 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
Commits
-
Make worker_spi sample code more complete
- e543631f3c16 9.3.0 cited