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 1fuWrJ-0000QV-AW for pgsql-admin@arkaria.postgresql.org; Tue, 28 Aug 2018 05:48:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fuWrH-0000NQ-HP for pgsql-admin@arkaria.postgresql.org; Tue, 28 Aug 2018 05:48:07 +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 1fuWrH-0000NJ-9m for pgsql-admin@lists.postgresql.org; Tue, 28 Aug 2018 05:48:07 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fuWrE-0000p7-7K for pgsql-admin@postgresql.org; Tue, 28 Aug 2018 05:48:06 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id A053DEC7C389 for ; Mon, 27 Aug 2018 22:48:01 -0700 (MST) Date: Mon, 27 Aug 2018 22:48:01 -0700 (MST) From: pavan95 To: pgsql-admin@postgresql.org Message-ID: <1535435281653-0.post@n3.nabble.com> Subject: Re: How to get alerted automatically whenever a table structure is changed between Publisher and Subscriber in Logical Replication? 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 Team, I wanted to know if there is a way to get alerted automatically when a table on the primary undergoes structural changes(i.e, adding/dropping some columns ). Due to this in Logical Replication the below error arises and replication stops for the changed table until structure on both sides are the same. *ERROR: logical replication target relation "public.est" is missing some replicated columns * So I wanted to get notified whenever a table structure has been changed on the Publisher Side. Is this possible? Looking forward to hear from you!! Regards, Pavan -- Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html