Re: [HACKERS] elog() executed by postmaster

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] elog() executed by postmaster
Дата
Msg-id 199911150048.TAA07293@candle.pha.pa.us
обсуждение исходный текст
Ответ на elog() executed by postmaster  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> elog() should probably check for being in the postmaster and force
> a postmaster shutdown if it gets elog(FATAL).  Should elog(ERROR)
> do the same, or do we want to try to add a return-to-main-loop
> capability in the postmaster?  I'm inclined to keep it simple and
> just do an orderly shutdown in both cases.  Any such code paths that
> are out there are obviously not heavily exercised, so I doubt that
> it's worth adding new code to try to recover from elog(ERROR).

Agreed.  Just try simple first.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: elog() executed by postmaster
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: [HACKERS] Looks like hell, but ...