On Tue, Aug 13, 2013 at 8:07 PM, Michael Paquier <michael.paqu...@gmail.com> wrote: > On Tue, Aug 13, 2013 at 11:59 PM, Alvaro Herrera > <alvhe...@2ndquadrant.com> wrote: >> maybe_start_bgworker() in postmaster.c >> do_start_bgworker() in postmaster.c >> StartBackgroundWorker() in bgworker.c > This formulation is fine, thanks. Instead of maybe_start_bgworker, > what about start_bgworker_if_necessary?
I think Alvaro's suggestion is better. It's shorter, and makes clear that at most one will be started. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers