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

From Tom Lane
Subject elog(PANIC) should abort()?
Date
Msg-id 7651.1036083046@sss.pgh.pa.us
Whole thread Raw
Responses Re: elog(PANIC) should abort()?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: elog(PANIC) should abort()?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
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.

Comments?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: 7.2.3 vacuum bug
Next
From: Tom Lane
Date:
Subject: Re: Request for supported platforms