Reputation: 185
Can we add triggers to the slave in postgres which is using slony for replication? These additional triggers (which will not be present in master) are needed for some additional work.
Thanks
Upvotes: 0
Views: 89
Reputation: 64640
Postgresql allows declaration of multiple triggers on a table. They are executed in alphabetical order: https://www.postgresql.org/docs/9.1/static/sql-createtrigger.html
If multiple triggers of the same kind are defined for the same event, they will be fired in alphabetical order by name.
Feel free to add the triggers.
Upvotes: 0