Re: [HACKERS] Logical decoding on standby - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: [HACKERS] Logical decoding on standby
Date
Msg-id CAMsr+YFTfrNomTW+vLVf6dP8Y92c4cspPcehO7OFViLtgNJ3Ew@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Logical decoding on standby  (sanyam jain <sanyamjain22@live.in>)
List 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 by date:

Previous
From: Thomas Munro
Date:
Subject: [HACKERS] Out of date comment in predicate.c
Next
From: Craig Ringer
Date:
Subject: Re: [HACKERS] Logical decoding on standby