Re: Regarding BGworkers - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Regarding BGworkers
Date
Msg-id CAB7nPqR=SPzPj5s0AhA-8Mt+WA4C4yv7B4i5mn0ZVk9Ev=BkVA@mail.gmail.com
Whole thread Raw
In response to Re: Regarding BGworkers  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Regarding BGworkers
List pgsql-hackers
On Fri, Aug 2, 2013 at 1:40 PM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> That seems more mess than just keeping that function in postmaster.c.
> I agree with moving the other one.
Please find attached a patch for that can be applied on master branch.
do_start_bgworker is renamed to StartBackgroundWorker and moved to
bgworker.c. At the same time, bgworker_quickdie, bgworker_die and
bgworker_sigusr1_handler are moved to bgworker.c as they are used in
do_start_bgworker.

Regards,
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: File-per-GUC WAS: Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])
Next
From: Michael Paquier
Date:
Subject: Re: Should we remove "not fast" promotion at all?