Re: How to get alerted automatically whenever a table structure ischanged between Publisher and Subscriber in Logical Replication?

Поиск
Список
Период
Сортировка
От Adrien NAYRAT
Тема Re: How to get alerted automatically whenever a table structure ischanged between Publisher and Subscriber in Logical Replication?
Дата
Msg-id 7f636d45-36db-d87b-171a-519e21690574@anayrat.info
обсуждение исходный текст
Ответ на Re: How to get alerted automatically whenever a table structure ischanged between Publisher and Subscriber in Logical Replication?  (pavan95 <pavan.postgresdba@gmail.com>)
Ответы Re: How to get alerted automatically whenever a table structure ischanged between Publisher and Subscriber in Logical Replication?  (pavan95 <pavan.postgresdba@gmail.com>)
Список pgsql-admin
On 8/28/18 7:48 AM, pavan95 wrote:
> 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
> 

Hi,

Maybe log_statement = ddl ? You will have informations in logs.

Regards,


В списке pgsql-admin по дате отправления:

Предыдущее
От: pavan95
Дата:
Сообщение: Re: How to get alerted automatically whenever a table structure ischanged between Publisher and Subscriber in Logical Replication?
Следующее
От: pavan95
Дата:
Сообщение: Re: How to get alerted automatically whenever a table structure ischanged between Publisher and Subscriber in Logical Replication?