Re: Logical Replication Helpers WIP for discussion

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Petr Jelinek <petr(at)2ndquadrant(dot)com>
Cc: ">> PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Logical Replication Helpers WIP for discussion
Date: 2014-12-15 18:42:51
Message-ID: CA+TgmoZmHd1T3m_Aa2y4wDCZ_WEBCrA+JeyW9BxGsDaFU7278Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Dec 15, 2014 at 12:57 AM, Petr Jelinek <petr(at)2ndquadrant(dot)com> wrote:
> we've made few helper functions for making logical replication easier, I
> bundled it into contrib module as this is mainly for discussion at this time
> (I don't expect this to get committed any time soon, but it is good way to
> iron out protocol, etc).
>
> I created sample logical decoding plugin that uses those functions and which
> can be used for passing DML changes in platform/version independent
> (hopefully) format.
>
> I will post sample apply BG worker also once I get some initial feedback
> about this.
>
> It's hard to write tests for this as the binary changes contain transaction
> ids and timestamps so the data changes constantly.
>
> This is of course based on the BDR work Andres, Craig and myself have been
> doing.

I can't understand, either from what you've written here or the rather
sparse comments in the patch, what this might be good for.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-12-15 18:46:14 Re: [REVIEW] Re: Compression of full-page-writes
Previous Message Robert Haas 2014-12-15 18:39:09 Re: WIP: dynahash replacement for buffer table