Re: [HACKERS] Logical decoding on standby

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: [HACKERS] Logical decoding on standby
Дата
Msg-id CAMsr+YFTfrNomTW+vLVf6dP8Y92c4cspPcehO7OFViLtgNJ3Ew@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Logical decoding on standby  (sanyam jain <sanyamjain22@live.in>)
Список pgsql-hackers
On 21 June 2017 at 13:28, sanyam jain <sanyamjain22@live.in> wrote:
> Hi,
>
> In this patch in walsender.c sendTimeLineIsHistoric is set to true when
> current and ThisTimeLineID are equal.
>
> sendTimeLineIsHistoric = state->currTLI == ThisTimeLineID;
>
>
> Shouldn't sendTimeLineIsHistoric is true when state->currTLI is less than
> ThisTimeLineID.

Correct, that was a bug. I thought it got fixed upthread though.


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



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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: [HACKERS] Out of date comment in predicate.c
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] Logical decoding on standby