putting a bgworker to rest

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: putting a bgworker to rest
Date: 2013-04-23 13:48:33
Message-ID: 20130423134833.GD8499@alap2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

I noticed the need to simply stop a bgworker after its work is done but
still have it restart in unusual circumstances like a crash.
Obviously I can just have it enter a loop where it checks its latch and
such, but that seems a bit pointless.

Would it make sense to add an extra return value or such for that?

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeevan Chalke 2013-04-23 14:03:24 Re: REFRESH MATERIALIZED VIEW command in PL block hitting Assert
Previous Message Steve Singer 2013-04-23 13:32:34 Re: Performance with the new security release?