Re: Command Triggers - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: Command Triggers
Date
Msg-id m21upto8sf.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: Command Triggers  (Marko Kreen <markokr@gmail.com>)
Responses Re: Command Triggers  (Marko Kreen <markokr@gmail.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Marko Kreen
Date:
Subject: Re: Command Triggers
Next
From: Robert Haas
Date:
Subject: Re: Command Triggers