Re: Resetting crash time of background worker

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Amit Khandekar <amitdkhan(dot)pg(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Resetting crash time of background worker
Date: 2015-04-02 18:43:27
Message-ID: CA+TgmoYUc6So+=NOvrmK=UEnOE8K5e+e+ynejt8JgSZce8CWsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Mar 22, 2015 at 10:55 PM, Amit Khandekar <amitdkhan(dot)pg(at)gmail(dot)com> wrote:
> On 17 March 2015 at 19:12, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> On Tue, Mar 17, 2015 at 1:33 AM, Amit Khandekar <amitdkhan(dot)pg(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-04-02 18:49:17 Re: Something is rotten in the state of Denmark...
Previous Message Tom Lane 2015-04-02 18:40:03 Re: Something is rotten in the state of Denmark...