Re: elog(PANIC) should abort()? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: elog(PANIC) should abort()?
Date
Msg-id 200211020328.gA23Sa308454@candle.pha.pa.us
Whole thread Raw
In response to elog(PANIC) should abort()?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: move 0 behaviour
Next
From: Bruce Momjian
Date:
Subject: Re: 7.2.3 vacuum bug