Marko Kreen <markokr@gmail.com> writes:
> Btw, we already have a GUC for triggers: session_replication_role,
> how will the command triggers follow that?
Note that the replica here in my mind would have been an Hot Standby
node, and having the standby run the replica/always command triggers is
not implemented yet, because you can't run DDL on the standby.
Now that you mention it we should also provide support the GUC here and
only fire the triggers matching it. I'm working on that now.
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support