Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5CNe-0002yK-0k for pgsql-general@arkaria.postgresql.org; Mon, 01 May 2017 14:32:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d5CNd-0003gU-Dm for pgsql-general@arkaria.postgresql.org; Mon, 01 May 2017 14:32:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d5CNc-0003fO-2w for pgsql-general@postgresql.org; Mon, 01 May 2017 14:32:48 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d5CNY-0002hN-TF for pgsql-general@postgresql.org; Mon, 01 May 2017 14:32:46 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 29C4420998 for ; Mon, 1 May 2017 10:32:44 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Mon, 01 May 2017 10:32:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=+0+T3KAKQTzxf+7a+i OjOAs4Nd8BaOqCBp2Y+A8CgTI=; b=MqgO4ivd8PUWupDXpPGQ/aELy9auGYF7FG WIWV8fRksL3PaoylJ1cQG49X8nWH8p1ds/EC9WCJ21ty/qbjiP0dHFYwbGoiIzUn 1rfKBrh14eyc9+J4HFMhCu8+rfgpLmfhzGfSrNFQy9L/GTJg6K3Y5a0f4aKCyT+Y Eumm0IBhLdUIvQFXk5usN5Woc7shfLa19yXxmXjhpLJRfSB6JAqFrse/OzlpmqK0 UB7ydjLIOlzkkxFcIj28HGpOWTtNcHOBSiOIsTaNqXEburkaleqWFxHT/EO9ZLmx izFg8R2WHCWB5elnS15R4mdnXYS7ZNnAAzegUJ1NuyXWfruX0QYg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=+0+T3KAKQTzxf+7a+iOjOAs4Nd8BaOqCBp2Y+A8CgTI=; b=scrYjdtR D3DUsimN9+jLzHcHXLItU9yXH3pYriJ0tELIePwpmBjh4O5U+GA0vQvkN/Ytwmrx TsHxcfbi/kx2wKfX3W38ryz+VCHyTAKno0y+vbbRcsdl/S/hMLf5UU1aDKWaw90Q PuEgwGiJbl6Q8GeUjLdafvtLV6U3hZPN2Ve0dt0yikvonvfppU9LRvYwc6zAvMHS iVba9H1jNvAvJVFM2QMaHoaM2MMM43JmirCxTi1n36DLH1Qw7OX27q32y7uE7ipu 1q03jShRAUEe2PkRBsRDJqV8xEm2+Fffjvj7PFvC1BE0TUyrTIpUqCN7e7zZAxlB 6yk56ClJFe0rBg== X-ME-Sender: X-Sasl-enc: 2M+j4K2FbZWFCbk0L8uM5fdU0hQLL7v2r5QhrrsRkxBr 1493649163 Received: from [192.168.1.2] (97-113-63-158.tukw.qwest.net [97.113.63.158]) by mail.messagingengine.com (Postfix) with ESMTPA id B7778247DA for ; Mon, 1 May 2017 10:32:43 -0400 (EDT) Subject: Re: Logical replication To: pgsql-general References: From: Adrian Klaver Message-ID: Date: Mon, 1 May 2017 07:32:42 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org 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