Re: [HACKERS] elog(PANIC) should abort()?

2002-11-26 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Tom Lane writes: >> 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. > But is this appropriate? > PANIC: The database cluster was initialized with CATALOG_VERSION

Re: [HACKERS] elog(PANIC) should abort()?

2002-11-26 Thread Peter Eisentraut
Tom Lane writes: > 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

Re: [HACKERS] elog(PANIC) should abort()?

2002-11-01 Thread Bruce Momjian
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