Re: Re: [COMMITTERS] pgsql: Start background writer during archive recovery.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Re: [COMMITTERS] pgsql: Start background writer during archive recovery.
Дата
Msg-id 499E8C1E.8050602@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Re: [COMMITTERS] pgsql: Start background writer during archive recovery.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: [COMMITTERS] pgsql: Start background writer during archive recovery.
Список pgsql-hackers
Tom Lane wrote:
> Couldn't you get rid of PMSIGNAL_RECOVERY_COMPLETED altogether?  If the
> startup process exits with code 0, recovery is complete, else there
> was trouble.  I find this SetPostmasterSignal bit quite ugly anyway.

Right now, the startup process exits with code 0 also when it's told to 
exit with SIGTERM, ie. fast shutdown request, and the recovery-completed 
signal is used to differentiate those cases. But yeah, we can use 
another exit code for that. I'll look into that approach.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_restore --multi-thread
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: GIN fast insert