Re: Shutting down a warm standby database in - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Shutting down a warm standby database in
Date
Msg-id 14005.1164903898@sss.pgh.pa.us
Whole thread Raw
In response to Re: Shutting down a warm standby database in  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> elog(PANIC) => abort() => core dump.  This is completely expected.

> Well, then I should have said there is no reason you should ever get a
> panic.

The reason it's a PANIC is that the whole of StartupXLOG() runs as a
critical section.  Given the recent changes to make elog(FATAL) do
exit(1) instead of exit(0), I think it might be possible to dispense
with that, but it's rather a ticklish thing to be changing the day
before we wrap 8.2.  How excited are you about this?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Stephen Harris
Date:
Subject: Re: Shutting down a warm standby database in
Next
From: Tom Lane
Date:
Subject: Order of checking for readline support libraries