[Bucardo-general] Custom triggers are not fired on remote database tables
Greg Sabino Mullane
greg at endpoint.com
Sun Feb 24 12:34:39 UTC 2013
On Sun, Feb 24, 2013 at 08:15:16AM +0100, Csaba Simon wrote:
> My case is 'replica', I would like have fired my custom triggers on remote
> tables when these tables are updated by Bucardo.
ALTER TABLE foobar ENABLE ALWAYS TRIGGER mytrig;
Mostly for the benefits of the archives:
Be extra careful with this, as it can lead to strange problems if your
triggers start updating other tables that are also Bucardo-tracked. :)
Depending on the use case, Bucardo's customcodes may be a better fit.
--
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Digital signature
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20130224/7f31f952/attachment.sig>
More information about the Bucardo-general
mailing list