<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 8 Mar 2021 at 19:42, Lucas Possamai <<a href="mailto:drum.lucas@gmail.com">drum.lucas@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all.</div><div><br></div><div>I am migrating a live PostgreSQL 9.2 database to RDS PostgreSQL 12.4, using Bucardo.</div><div><br></div><div>I remember reading somewhere months ago that I should disable the triggers of the target database, but unfortunately, I cannot find that information anymore.</div><div><br></div><div>The business wants to slowly move customers to the PG 12.4 RDS database. The idea was to modify the application and check if it's <b>customer_id X, Y and Z</b>, write data to RDS and not current PG 9.2.</div><div><br></div><div>My question is:</div><div>Can I have bucardo replicating data from PG 9.2 to RDS 12.4 and at the same time, have customers writing data to RDS? Of course that means I'd have to re-enable triggers on my target DB?</div><div><br></div></div></blockquote><div><br></div><div>I remembered Bucardo does multi-master replication. Tried to look on the internet how to set it up, but apparently, my RDS PG 12 is already considered a "master". So I think there is no reason for me to disable the triggers on the target_db. Again, I do not remember where I read this.</div><div><br></div><div>Waiting for someone to confirm this...</div><div><br></div>Lucas</div></div>