background worker and normal exit

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема background worker and normal exit
Дата
Msg-id CAHGQGwFP=sE4bda=8E8BaUH=kVgvvEGy0Tvpi_RzuQ6ii5k_0g@mail.gmail.com
обсуждение исходный текст
Ответы Re: background worker and normal exit
Список pgsql-hackers
Hi,

I found that the normal exit (i.e., with exit code 0) of bgworker
always leads to
the immediate restart of bgworker whatever bgw_restart_time is. Is
this intentional?
Not only crash but also normal exit should go along with bgw_restart_time?

I'm now writing the bgworker which is allowed to be running only
during recovery.
After recovery ends, that bgworker is expected to exit with code 0. I
was thinking
to avoid the restart of the bgworker after normal exit, by using
BGW_NEVER_RESTART.

Regards,

-- 
Fujii Masao



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_export_snapshot on standby side
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: getting rid of freezing