pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pavan95 <pavan.postgresdba@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: How to get alerted automatically whenever a table structure is changed between Publisher and Subscriber in Logical Replication?
Date: Tue, 28 Aug 2018 01:53:06 -0700 (MST)
Message-ID: <1535446386936-0.post@n3.nabble.com> (raw)
In-Reply-To: <7f636d45-36db-d87b-171a-519e21690574@anayrat.info>
References: <1535435281653-0.post@n3.nabble.com>
	<7f636d45-36db-d87b-171a-519e21690574@anayrat.info>

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




view thread (10+ messages)  latest in thread

Message-ID: <1535446386936-0.post@n3.nabble.com>
Permalink:  ../1535446386936-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1535446386936-0.post@n3.nabble.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: pavan.postgresdba@gmail.com
  Subject: Re: How to get alerted automatically whenever a table structure is changed between Publisher and Subscriber in Logical Replication?
  In-Reply-To: <1535446386936-0.post@n3.nabble.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