putting a bgworker to rest - Mailing list pgsql-hackers

From Andres Freund
Subject putting a bgworker to rest
Date
Msg-id 20130423134833.GD8499@alap2.anarazel.de
Whole thread Raw
Responses Re: putting a bgworker to rest
List 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



pgsql-hackers by date:

Previous
From: Steve Singer
Date:
Subject: Re: Performance with the new security release?
Next
From: Jeevan Chalke
Date:
Subject: Re: REFRESH MATERIALIZED VIEW command in PL block hitting Assert