On Sat, Aug 02, 2014 at 10:15:59AM -0400, Jonathan Brinkman wrote:
> Thank you for explanations!
> 
> Re ALWAYS triggers, I have an AFTER trigger on some tables that writes an
> audit-trail record to a change_log table. That only happens in the "Main"
> database. But if a data modification happens in the "Child" database, which
> is also a Source/Master DB, then the Main DB doesn't want to fire that
> audit-trail trigger (upon bucardo replication) unless I make the audit-trail
> trigger an ALWAYS trigger.
> 
> Am I doing it wrong? 

Nope, that is the perfect use case for setting a trigger to ALWAYS. :)

-- 
Greg Sabino Mullane [email protected]
End Point Corporation
PGP Key: 0x14964AC8

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Bucardo-general mailing list
[email protected]
https://mail.endcrypt.com/mailman/listinfo/bucardo-general

Reply via email to