Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fnzco-0005MO-0b for pgsql-admin@arkaria.postgresql.org; Fri, 10 Aug 2018 05:06:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fnzcm-0006BY-8g for pgsql-admin@arkaria.postgresql.org; Fri, 10 Aug 2018 05:06:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fnzcm-0006BQ-1d for pgsql-admin@lists.postgresql.org; Fri, 10 Aug 2018 05:06:08 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fnzci-00046x-V3 for pgsql-admin@postgresql.org; Fri, 10 Aug 2018 05:06:07 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 31296E7B68CD for ; Thu, 9 Aug 2018 22:06:03 -0700 (MST) Date: Thu, 9 Aug 2018 22:06:03 -0700 (MST) From: pavan95 To: pgsql-admin@postgresql.org Message-ID: <1533877563199-0.post@n3.nabble.com> Subject: Re: Logical Replication in Postgres 10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi all, I have a doubt in Logical Replication feature in 10.4. I have 2 servers where in which I have configured "Logical Replication" between two databases source and destination. *In the Source*: Before creating publication on publisher I have create 2 tables on both publisher & subscriber. But only publisher contains data. Later, I have create publication for all tables using the below command: CREATE PUBLICATION mypub FOR ALL TABLES; *In the Target*: In the subscriber server, I have created a subscription for that publication. Suddenly within no time the data got replicated(happy for that). The actual problem now aroused. I again went on creating a new table on the primary but it was not part of my publication(surprised). So it was not replicated. But from the documentation "FOR ALL TABLES" option the futurely created tables are also part of the replication which was not (3'rd table) in my case. What went wrong? Kindly help me out!!! Thanks in Advance! Regards, Pavan -- Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html