Re: background worker and normal exit

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: background worker and normal exit
Date: 2013-05-26 17:04:26
Message-ID: F2F0A88359656D863BBADB08@apophis.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On 26. Mai 2013 11:38:55 +0900 Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:

>
> This flag makes a worker not to restart only in case of a crash. To solve
> your problem, you could as well allow your process to restart and put it
> in indefinite sleep if server is not in recovery such it it will do
> nothing in your case.

Hmm so you can't have workers just "doing something once" and exit? I have
to admit, i didn't follow bgworkers closely in the past, but could you give
a short insight on why this is currently not possible?

--
Thanks

Bernd

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robins Tharakan 2013-05-26 17:56:29 Add regression tests for SET xxx
Previous Message Tom Lane 2013-05-26 16:10:49 Re: [HACKERS] COPY .... (FORMAT binary) syntax doesn't work