Re: Re: Re: PITR question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Re: PITR question
Дата
Msg-id 654.1097100572@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: PITR question  (<simon@2ndquadrant.com>)
Ответы Re: PITR question  ("Simon Riggs" <simon@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgindent complaint of the day
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Two-phase commit