Re: Shutting down a warm standby database in

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Stephen Harris <lists(at)spuddy(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Shutting down a warm standby database in
Date: 2006-11-30 16:24:58
Message-ID: 14005.1164903898@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Teodor Sigaev 2006-11-30 16:25:01 Re: postgresql 8.2 rc1 - crash
Previous Message Leonel Nunez 2006-11-30 16:04:42 Re: Need testers for 8.2 RC1 RPMs

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-11-30 16:33:11 Order of checking for readline support libraries
Previous Message Leonel Nunez 2006-11-30 16:04:42 Re: Need testers for 8.2 RC1 RPMs