Re: putting a bgworker to rest - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: putting a bgworker to rest
Date
Msg-id 51794998.2060806@gmx.net
Whole thread Raw
In response to Re: putting a bgworker to rest  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: putting a bgworker to rest
List pgsql-hackers
On 4/24/13 12:30 PM, Dimitri Fontaine wrote:
> In Erlang, the lib that cares about such things in called OTP, and that
> proposes a model of supervisor that knows when to restart a worker. The
> specs for the restart behaviour are:
> 
>   Restart = permanent | transient | temporary

There is also supervisord; see configuration settings "autorestart" and
"exitcodes" here:

http://supervisord.org/configuration.html#program-x-section-settings

Yes, the feature creep is in full progress!



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Failing start-up archive recovery at Standby mode in PG9.2.4
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Failing start-up archive recovery at Standby mode in PG9.2.4