Re: Pause at end of recovery

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Pause at end of recovery
Дата
Msg-id CA+U5nM++4SCQ3uiX0vJV0MziKjVQOW=tTSKGjQsk7KKN-xn3pw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Pause at end of recovery  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: Pause at end of recovery  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Thu, Dec 22, 2011 at 6:16 AM, Simon Riggs <simon@2ndquadrant.com> wrote:

> I can see a reason to do this now. I've written patch and will commit
> on Friday. Nudge me if I don't.

It's hard to write this so it works in all cases and doesn't work in
the right cases also.

Basically, we can't get in the way of crash recovery, so the only way
we can currently tell a crash recovery from an archive recovery is the
presence of restore_command.

If you don't have that and you haven't set a recovery target, it won't
pause and there's nothing I can do, AFAICS.

Please test this and review before commit.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Page Checksums
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: spinlocks on HP-UX