<div dir="ltr">Lucas,<div>if the parameter works in RDS, you can perfectly have a multimaster setup and write to any DB that belongs to the sync. The data will be replicated to the other nodes of the sync. </div><div><br></div><div><b>session_replication_role</b> is a session parameter that is only set by bucardo when it copies the modified data among the nodes so bucardo delta triggers are not activated creating an infinite loop of data replication. Your application will run with <b>session_replication_role</b>=false, so when it changes something, bucardo triggers will be activated marking the rows to be replicated in delta tables and notifying bucardo server to replicate the changes.<br></div><div><br></div><div>Gustavo.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 8, 2021 at 11:33 PM 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 class="gmail_quote"><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 class="gmail_quote"><div></div><div>Gustavo, I did not find that information about the <b>session_replication_role</b> online. Where is that on Bucardo's website?</div><div><br></div><div>Lucas<br></div></div></div></blockquote><div><br></div><div>Okay.. looking at that parameter better, it is safer to activate that than disabling triggers. It is possible to activate that parameter on RDS as well. Looks like Bucardo needs to update their documentation.</div><div><br></div><div>However, I still do not know if I can have a multi-master setup, but at the same time, having an application pointed to the target_db writing data. Probably not since <b>session_replication_role</b> will be enabled.  <br></div><div><br></div><div>Lucas<br></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Gustavo.</div>