Re: Logical Decoding follows timelines - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Logical Decoding follows timelines
Date
Msg-id 549040DB.4020007@vmware.com
Whole thread Raw
In response to Logical Decoding follows timelines  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Logical Decoding follows timelines  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
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.

SendRqstPtr isn't actually used for anything in XLogSendLogical.

- Heikki




pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [REVIEW] Re: Compression of full-page-writes
Next
From: Alvaro Herrera
Date:
Subject: Re: REVIEW: Track TRUNCATE via pgstat