Re: Resetting crash time of background worker - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Resetting crash time of background worker
Date
Msg-id CA+TgmoYUc6So+=NOvrmK=UEnOE8K5e+e+ynejt8JgSZce8CWsg@mail.gmail.com
Whole thread Raw
In response to Re: Resetting crash time of background worker  (Amit Khandekar <amitdkhan.pg@gmail.com>)
List pgsql-hackers
On Sun, Mar 22, 2015 at 10:55 PM, Amit Khandekar <amitdkhan.pg@gmail.com> wrote:
> On 17 March 2015 at 19:12, Robert Haas <robertmhaas@gmail.com> wrote:
>> On Tue, Mar 17, 2015 at 1:33 AM, Amit Khandekar <amitdkhan.pg@gmail.com>
>> wrote:
>> > I think we either have to retain the knowledge that the worker has
>> > crashed
>> > using some new field, or else, we should reset the crash time only if it
>> > is
>> > not flagged BGW_NEVER_RESTART.
>>
>> I think you're right, and I think we should do the second of those.
>> Thanks for tracking this down.
>
> Thanks. Attached a patch accordingly. Put this into the June 2015
> commitfest.

Committed and back-patched to 9.4.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Something is rotten in the state of Denmark...
Next
From: Robert Haas
Date:
Subject: Re: Something is rotten in the state of Denmark...