Re: BUG #14109: pg_rewind fails to update target control file in one scenario

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: BUG #14109: pg_rewind fails to update target control file in one scenario
Дата
Msg-id CAB7nPqSJsaQcwn8Z8yDyVNvJUjgg0L+2P7usAHLHZ8TV2ito3g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #14109: pg_rewind fails to update target control file in one scenario  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-bugs
On Fri, Apr 29, 2016 at 8:42 PM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> Well, that sounds like just a SMOP, doesn't it?

Oh, actually, looking at ReplicationSlotReserveWal(), what is used as
a restart LSN is the last redo position. I haven't noticed that until
now. So indded if you create a slot just before the promotion that
would actually be fine.
--
Michael

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #14109: pg_rewind fails to update target control file in one scenario
Следующее
От: Mathias Kunter
Дата:
Сообщение: Re: BUG #14107: Major query planner bug regarding subqueries and indices