Re: elog(PANIC) should abort()?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: elog(PANIC) should abort()?
Дата
Msg-id 200211020328.gA23Sa308454@candle.pha.pa.us
обсуждение исходный текст
Ответ на elog(PANIC) should abort()?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> I am thinking it would be useful for debugging if elog(PANIC) were to
> exit by calling abort() so that a core dump would be produced.
> 
> Going out via proc_exit(), as it now does, seems like a bad idea in any
> case, since that will try to do a bunch of cleanup activity that's
> probably inappropriate after a panic.

Sure, dump core.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: move 0 behaviour
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.2.3 vacuum bug