Re: Re: Re: PITR question - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Re: Re: PITR question
Date
Msg-id 654.1097100572@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: PITR question  (<simon@2ndquadrant.com>)
Responses Re: PITR question
List pgsql-hackers
<simon@2ndquadrant.com> writes:
>> ohp@pyrenet.fr wrote:
>>> ... you end up with a core dump (signal 6) and an error saying that you
>>> can't stop before end of backup.
>>
>> Was this corrected?  I don't see any followups to it in the archives.
>>

> Not by me, though I was definitely working on crash recovery then. ;-)

> Olivier is right in the explanation of this, but it doesn't seem that a
> core dump is the appropriate response.

The error is intentional.  The reason it's converted to a core dump is
simply that the whole of recovery is run as a critical section, and so
any fatal error is promoted to PANIC.

We could think about a different rule about whether to force a core dump
in these circumstances, but I can't say that I am very excited about it.
I'd rather have the dump and not need it than vice versa.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: pgindent complaint of the day
Next
From: Oliver Jowett
Date:
Subject: Re: Two-phase commit