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
> probably inappropriate after a panic.
But is this appropriate?
PANIC: The database cluster was initialized with CATALOG_VERSION_NO 200210181,
but the backend was compiled with CATALOG_VERSION_NO 200211021.
It looks like you need to initdb.
Aborted (core dumped)
--
Peter Eisentraut peter_e(at)gmx(dot)net