On 20 June 2012 05:46, Robert Haas <robertmhaas@gmail.com> wrote:
> It seems to me that you are intent on using the WAL stream as the
> logical change stream. I think that's a bad design. Instead, you
> should extract changes from WAL and then ship them around in a format
> that is specific to logical replication.
The proposal is to read the WAL in order to generate LCRs. The
information needs to be in the original data in order to allow it to
be passed onwards.
In a multi-master config there will be WAL records with many origin
node ids at any time, so this information must be held at WAL record
level not page level.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services