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 1fuZkO-0002V3-NX for pgsql-admin@arkaria.postgresql.org; Tue, 28 Aug 2018 08:53:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fuZkL-000376-SR for pgsql-admin@arkaria.postgresql.org; Tue, 28 Aug 2018 08:53:09 +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.89) (envelope-from ) id 1fuZkL-00036f-Hs for pgsql-admin@lists.postgresql.org; Tue, 28 Aug 2018 08:53:09 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fuZkJ-0000Gy-DR for pgsql-admin@postgresql.org; Tue, 28 Aug 2018 08:53:08 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id EE00CEC8489A for ; Tue, 28 Aug 2018 01:53:06 -0700 (MST) Date: Tue, 28 Aug 2018 01:53:06 -0700 (MST) From: pavan95 To: pgsql-admin@postgresql.org Message-ID: <1535446386936-0.post@n3.nabble.com> In-Reply-To: <7f636d45-36db-d87b-171a-519e21690574@anayrat.info> References: <1535435281653-0.post@n3.nabble.com> <7f636d45-36db-d87b-171a-519e21690574@anayrat.info> 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 Adrien, Thanks for your prompt response. In my case I'm not interested in capturing DDL's instead I'm interested in capturing the altered tables, I mean to say if any column was added/removed from the table, it causes replication to stop and trigger continuous errors in the log file as said before. So looking for a any table structure modifications(mainly alter DDL) if changed in a publisher I need to receive an alert(through any custom script or via a mail). Hope you now got my requirement. Looking for any alerting system whenever a table structure gets altered in the publisher so that it can be done the same at the subscriber too. Regards, Pavan -- Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html