pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Logical replication
Date: Mon, 1 May 2017 07:32:42 -0700
Message-ID: <c9361c10-d9cd-3fbc-284d-6dfcb75c866a@aklaver.com> (raw)
In-Reply-To: <b856059b-1fd3-309b-c436-ba046c7a390d@aklaver.com>
References: <b856059b-1fd3-309b-c436-ba046c7a390d@aklaver.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

On 04/30/2017 09:07 AM, Adrian Klaver wrote:
> I have started looking at the logical replication feature in Postgres
> 10. One thing I have no been able to determine is the interoperability
> between it and pglogical(www.2ndquadrant.com/en/resources/pglogical/). I
> know the one is derived from the other, what I can not find is whether a
> Postgres 9.4 instance with the pglogical extension installed can
> communicate with a Postgres 10 instance using the built in code?
>

Some testing says the answer is no:

postgres=# CREATE SUBSCRIPTION pgsql10sub CONNECTION 
'dbname=replication_test host=localhost user=postgres port=5412' 
PUBLICATION pgsql94;
ERROR:  could not receive list of replicated tables from the publisher: 
ERROR:  syntax error

If I am correct, this means from 9.4 <--> 10 and points in between you 
would need to use the pglogical extension on both ends. Going from 10 
--> you could use the builtin logical replication. This leads to another 
question. Is is possible to use both at the same time?:

9.4       --->   10(instance 1)    ---> 10(instance 2)
pglogical        pglogical
                  builtin                builtin

-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (15+ messages)  latest in thread

Message-ID: <c9361c10-d9cd-3fbc-284d-6dfcb75c866a@aklaver.com>
Permalink:  ../c9361c10-d9cd-3fbc-284d-6dfcb75c866a@aklaver.com/
Also on:    postgresql.org/message-id/c9361c10-d9cd-3fbc-284d-6dfcb75c866a@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com
  Subject: Re: Logical replication
  In-Reply-To: <c9361c10-d9cd-3fbc-284d-6dfcb75c866a@aklaver.com>
  References: <b856059b-1fd3-309b-c436-ba046c7a390d@aklaver.com> <c9361c10-d9cd-3fbc-284d-6dfcb75c866a@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox