From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Logical Decoding follows timelines |
Date: | 2014-12-16 21:17:22 |
Message-ID: | CA+U5nMJ590DWajrY5NWQDaMGr7EQvA+k_tkqDWFdO=ai+d5K6Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 16 December 2014 at 14:25, Heikki Linnakangas
<hlinnakangas(at)vmware(dot)com> wrote:
> On 12/15/2014 08:54 PM, Simon Riggs wrote:
>>
>> Currently, it doesn't.
>>
>> This patch is a WIP version of doing that, but only currently attempts
>> to do this in the WALSender.
>>
>> Objective is to allow cascaded logical replication.
>>
>> Very WIP, but here for comments.
>
>
> With the patch, XLogSendLogical uses the same logic to calculate SendRqstPtr
> that XLogSendPhysical does. It would be good to refactor that into a common
> function, rather than copy-paste.
Some of the logic is similar, but not all.
> SendRqstPtr isn't actually used for anything in XLogSendLogical.
It exists to allow the call which resets TLI.
I'll see if I can make it exactly identical; I didn't think so when I
first looked, will look again.
Thanks
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-12-16 21:44:20 | Re: [alvherre@2ndquadrant.com: Re: no test programs in contrib] |
Previous Message | David Fetter | 2014-12-16 21:11:32 | POLA violation with \c service= |