Re: Proposal: Generic WAL logical messages - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: Proposal: Generic WAL logical messages
Date
Msg-id CAMsr+YEyKVCLic2+Qg7gGgL0H8O6sv0xVUGFamq4a=MsA_m8=A@mail.gmail.com
Whole thread Raw
In response to Re: Proposal: Generic WAL logical messages  (Artur Zakirov <a.zakirov@postgrespro.ru>)
List pgsql-hackers
On 18 March 2016 at 20:36, Artur Zakirov <a.zakirov@postgrespro.ru> wrote:
On 17.03.2016 15:42, Craig Ringer wrote:


Would you mind sharing the plugin here? I could add it to
src/test/modules and add some t/ tests so it runs under the TAP test
framework.


--
  Craig Ringer http://www.2ndQuadrant.com/
  PostgreSQL Development, 24x7 Support, Training & Services

Of course. I attached it.

Thanks for that.

Since it incorporates fairly significant chunks of code from a number of places and is really a proof of concept rather than demo/example I don't think it can really be included as a TAP test module, not without more rewriting than I currently have time for anyway. 
 
 
But it shows concept of DDL replication.

Yeah, a part of it anyway. As I outlined in another thread some time ago, getting DDL replication right is fairly tricky and requires more changes than just capturing the raw DDL (or even deparsed DDL) and sending it over the wire.

It's a useful proof of concept, but way too big to use as an in-tree regression for logical WAL messages as I was hoping.

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [GENERAL] Request - repeat value of \pset title during \watch interations
Next
From: Aleksander Alekseev
Date:
Subject: Re: Re: PROPOSAL: make PostgreSQL sanitizers-friendly (and prevent information disclosure)