Re: background worker and normal exit

Поиск
Список
Период
Сортировка
От Bernd Helmle
Тема Re: background worker and normal exit
Дата
Msg-id F2F0A88359656D863BBADB08@apophis.local
обсуждение исходный текст
Ответ на Re: background worker and normal exit  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: background worker and normal exit
Список pgsql-hackers

--On 26. Mai 2013 11:38:55 +0900 Michael Paquier 
<michael.paquier@gmail.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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] COPY .... (FORMAT binary) syntax doesn't work
Следующее
От: Robins Tharakan
Дата:
Сообщение: Add regression tests for SET xxx