Re: New trigger option of pg_standby

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: New trigger option of pg_standby
Дата
Msg-id 3f0b79eb0904150101pb1c59a3ubb422867e8e6a944@mail.gmail.com
обсуждение исходный текст
Ответ на Re: New trigger option of pg_standby  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: New trigger option of pg_standby  (Simon Riggs <simon@2ndQuadrant.com>)
Re: New trigger option of pg_standby  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Re: New trigger option of pg_standby  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
Hi,

On Tue, Apr 14, 2009 at 2:41 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> I'd like to propose another simple idea; pg_standby deletes the
> trigger file *whenever* the nextWALfile is a timeline history file.
> A timeline history file is restored at the end of recovery, so it's
> guaranteed that the trigger file is deleted whether nextWALfile
> exists or not.
>
> A timeline history file is restored also at the beginning of
> recovery, so the accidentally remaining trigger file is deleted
> in early warm-standby as a side-effect of this idea.

Here is the revised patch as above.

If you notice something, please feel free to comment.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Вложения

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Replacing plpgsql's lexer
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Replacing plpgsql's lexer